Skip to content

Commit 91d30eb

Browse files
committed
fix: use RELEASE_TOKEN for docs version push, remove explicit dispatch
1 parent e45a420 commit 91d30eb

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ jobs:
9595
uses: actions/checkout@v4
9696
with:
9797
ref: main
98+
token: ${{ secrets.RELEASE_TOKEN }}
9899

99100
- name: Set up Node.js
100101
uses: actions/setup-node@v4
@@ -122,8 +123,3 @@ jobs:
122123
git add .
123124
git commit -m "docs: snapshot version ${{ steps.version.outputs.VERSION }}"
124125
git push
125-
126-
- name: Trigger docs deployment
127-
run: gh workflow run docs.yml --ref main
128-
env:
129-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)