File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -35,17 +35,23 @@ jobs:
3535 uses : actions/upload-pages-artifact@v3
3636 with :
3737 path : build/
38-
3938 deploy :
39+ # Add a dependency to the build job
4040 needs : build
41+
42+ # Grant GITHUB_TOKEN the permissions required to make a Pages deployment
4143 permissions :
42- pages : write
43- id-token : write
44+ pages : write # to deploy to Pages
45+ id-token : write # to verify the deployment originates from an appropriate source
46+
47+ # Deploy to the github-pages environment
4448 environment :
4549 name : github-pages
4650 url : ${{ steps.deployment.outputs.page_url }}
51+
52+ # Specify runner + deployment step
4753 runs-on : ubuntu-latest
4854 steps :
4955 - name : Deploy to GitHub Pages
5056 id : deployment
51- uses : actions/deploy-pages@v1
57+ uses : actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action
You can’t perform that action at this time.
0 commit comments