File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 1- # Simple workflow for deploying static content to GitHub Pages
21name : Deploy static content to Pages
32
43on :
5- # Runs on pushes targeting the default branch
64 push :
75 branches : ['main']
86
9- # Allows you to run this workflow manually from the Actions tab
107 workflow_dispatch :
118
12- # Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
139permissions :
1410 contents : read
1511 pages : write
1612 id-token : write
1713
18- # Allow one concurrent deployment
1914concurrency :
2015 group : ' pages'
2116 cancel-in-progress : true
2217
2318jobs :
24- # Single deploy job since we're just deploying
2519 deploy :
2620 environment :
2721 name : github-pages
4236 - name : Setup Pages
4337 uses : actions/configure-pages@v3
4438 - name : Upload artifact
45- uses : actions/upload-pages-artifact@v2
39+ uses : actions/upload-pages-artifact@v3
4640 with :
47- # Upload dist repository
4841 path : ' ./dist'
4942 - name : Deploy to GitHub Pages
5043 id : deployment
You can’t perform that action at this time.
0 commit comments