Skip to content

Commit 8351981

Browse files
committed
fix: Github tokens cannot be prefixed with GITHUB_
1 parent d00e84a commit 8351981

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test-and-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jobs:
125125
- name: Release
126126
run: yarn semantic-release
127127
env:
128-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
128+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
129129
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
130130

131131
docs:
@@ -171,5 +171,5 @@ jobs:
171171
- name: Deploy
172172
uses: peaceiris/actions-gh-pages@v3
173173
with:
174-
github_token: ${{ secrets.GITHUB_TOKEN }}
174+
github_token: ${{ secrets.GH_TOKEN }}
175175
publish_dir: ./docs/dist

0 commit comments

Comments
 (0)