File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff 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.WEBSITE_DEPLOY_TOKEN }}
3136
3237 - name : Use Node.js
3338 uses : actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
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
You can’t perform that action at this time.
0 commit comments