Skip to content

Commit 043821e

Browse files
committed
Update deploy.yml
1 parent 77b8bcf commit 043821e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
deploy:
1212
name: Deploy to GitHub Pages
1313
runs-on: ubuntu-latest
14+
permissions:
15+
contents: write
1416
steps:
1517
- uses: actions/checkout@v3
1618
- uses: actions/setup-node@v3
@@ -28,7 +30,7 @@ jobs:
2830
- name: Deploy to GitHub Pages
2931
uses: peaceiris/actions-gh-pages@v4
3032
with:
31-
deploy_key: ${{ secrets.GITHUB_TOKEN }}
33+
github_token: ${{ secrets.GITHUB_TOKEN }}
3234
# Build output to publish to the `gh-pages` branch:
3335
publish_dir: ./build
3436
# The following lines assign commit authorship to the official

0 commit comments

Comments
 (0)