File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99 # Allows you to run this workflow manually from the Actions tab
1010 workflow_dispatch :
11- permissions : {}
11+
12+
1213# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
1314# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
1415concurrency :
1920
2021 # Build job
2122 build :
23+ permissions :
24+ contents : read
25+ pages : write
26+ id-token : write
27+ environment :
28+ name : github-pages
29+ url : ${{ steps.deployment.outputs.page_url }}
2230 runs-on : ubuntu-latest
2331 env : # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
2432 BUNDLE_GEMFILE : ${{ github.workspace }}/docs/Gemfile
4856 with :
4957 path : docs/_site
5058
51- # Deployment job
52- deploy :
53- environment :
54- name : github-pages
55- url : ${{ steps.deployment.outputs.page_url }}
56- runs-on : ubuntu-latest
57- needs : build
58- steps :
5959 - name : Deploy to GitHub Pages
60+ if : github.repository_owner == 'captn3m0'
6061 id : deployment
61- uses : actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0
62+ uses : actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0
You can’t perform that action at this time.
0 commit comments