File tree Expand file tree Collapse file tree 1 file changed +10
-18
lines changed
Expand file tree Collapse file tree 1 file changed +10
-18
lines changed Original file line number Diff line number Diff line change 88env :
99 package_dir : " /"
1010
11+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
12+ permissions :
13+ contents : read
14+ pages : write
15+ id-token : write
16+
17+ concurrency :
18+ group : " pages"
19+ cancel-in-progress : false
20+
1121jobs :
1222 refresh-static-assets :
1323 runs-on : ubuntu-latest
5161 git add .
5262 git commit -m 'Updating static site'
5363 git push origin main
54-
55- - name : Setup Pages
56- id : setup-pages
57- if : steps.push-to-main.outcome == 'success'
58- uses : actions/configure-pages@v5
59-
60- - name : Upload artifact
61- if : steps.setup-pages.outcome == 'success'
62- id : upload
63- uses : actions/upload-pages-artifact@v3
64- with :
65- # Upload contents of static folder
66- path : " ./static/"
67-
68- - name : Deploy to GitHub Pages
69- if : steps.upload.outcome == 'success'
70- id : deploy
71- uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments