Skip to content

Commit b1f0578

Browse files
committed
Change deployment token to GitHub token
1 parent e97901b commit b1f0578

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/gh-pages.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
runs-on: ubuntu-22.04
1212
env:
1313
PR_PATH: pull/${{github.event.number}}
14+
permissions:
15+
contents: write
1416
steps:
1517
- name: Comment on PR
1618
uses: hasura/comment-progress@v2.3.0
@@ -61,7 +63,7 @@ jobs:
6163
uses: peaceiris/actions-gh-pages@v4
6264
if: github.ref == 'refs/heads/main'
6365
with:
64-
github_token: ${{ secrets.PUBLISH_TOKEN }}
66+
github_token: ${{ secrets.GITHUB_TOKEN }}
6567
publish_dir: ./${{ env.DOMAIN }}/public
6668

6769
- name: Set base URL for preview if PR

0 commit comments

Comments
 (0)