Skip to content

Commit 8649ec5

Browse files
committed
Fix website CI
1 parent 21a8903 commit 8649ec5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Diff for: .github/workflows/website.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,16 @@ jobs:
2323
deploy:
2424
runs-on: ubuntu-latest
2525
needs: check_branch
26+
27+
permissions:
28+
contents: write
2629

2730
if: ${{ github.repository_owner == 'visgl' && needs.check_branch.outputs.should_deploy }}
2831

2932
steps:
3033
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
34+
with:
35+
token: ${{ secrets.WEBSIT_DEPLOY_TOKEN }}
3136

3237
- name: Use Node.js
3338
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
@@ -47,7 +52,7 @@ jobs:
4752
- name: Deploy
4853
uses: JamesIves/github-pages-deploy-action@132898c54c57c7cc6b80eb3a89968de8fc283505 # 3.7.1
4954
with:
50-
GITHUB_TOKEN: ${{ secrets.WEBSITE_DEPLOY_TOKEN }}
55+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5156
BRANCH: gh-pages
5257
FOLDER: website/build
5358
CLEAN: true

0 commit comments

Comments
 (0)