File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change 11name : Build and Deploy Webpage to GitHub Pages
22
33on :
4+ # Runs on pushes targeting the default branch
45 push :
56 branches :
67 - master
910 - .github/workflows/webpage_build.yml
1011 - .github/workflows/webpage_deploy.yml
1112
13+ # Allows you to run this workflow manually from the Actions tab
14+ workflow_dispatch :
15+
16+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
17+ permissions :
18+ contents : read
19+ pages : write
20+ id-token : write
21+
22+ # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
23+ # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
24+ concurrency :
25+ group : " pages"
26+ cancel-in-progress : false
27+
1228jobs :
1329 build-webpage :
1430 name : Build Webpage
1935 name : Deploy to GitHub Pages
2036 needs : build-webpage
2137
22- # Grant GITHUB_TOKEN the permissions required to make a Pages deployment
23- permissions :
24- pages : write # to deploy to Pages
25- id-token : write # to verify the deployment originates from an appropriate source
26-
2738 # Deploy to the github-pages environment
2839 environment :
2940 name : github-pages
You can’t perform that action at this time.
0 commit comments