Skip to content

Commit 6b865e5

Browse files
committed
Update build-website.yml
1 parent 933812e commit 6b865e5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/build-website.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,17 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
deploy:
1013
runs-on: ubuntu-latest
1114
steps:
1215
- uses: actions/checkout@v4
1316
with:
1417
fetch-depth: 0
18+
persist-credentials: true
1519

1620
# BEGIN Dependencies
1721
- uses: actions/setup-python@v2
@@ -53,6 +57,6 @@ jobs:
5357
- name: Deploy 🚀
5458
uses: peaceiris/actions-gh-pages@v3
5559
with:
56-
github_token: ${{ secrets.TOKEN }}
60+
github_token: ${{ secrets.GITHUB_TOKEN }}
5761
publish_dir: ./website/_site/
5862
publish_branch: gh-pages

0 commit comments

Comments
 (0)