File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,16 @@ jobs:
23
23
deploy :
24
24
runs-on : ubuntu-latest
25
25
needs : check_branch
26
+
27
+ permissions :
28
+ contents : write
26
29
27
30
if : ${{ github.repository_owner == 'visgl' && needs.check_branch.outputs.should_deploy }}
28
31
29
32
steps :
30
33
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
34
+ with :
35
+ token : ${{ secrets.WEBSIT_DEPLOY_TOKEN }}
31
36
32
37
- name : Use Node.js
33
38
uses : actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
47
52
- name : Deploy
48
53
uses : JamesIves/github-pages-deploy-action@132898c54c57c7cc6b80eb3a89968de8fc283505 # 3.7.1
49
54
with :
50
- GITHUB_TOKEN : ${{ secrets.WEBSITE_DEPLOY_TOKEN }}
55
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
51
56
BRANCH : gh-pages
52
57
FOLDER : website/build
53
58
CLEAN : true
You can’t perform that action at this time.
0 commit comments