File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed
Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches : [ main ]
66
7+ permissions :
8+ contents : read
9+ pages : write
10+ id-token : write
11+
712jobs :
813 build :
914 runs-on : ubuntu-latest
10- permissions :
11- contents : read
12- pages : write
13- id-token : write
1415 steps :
1516 - name : Checkout repository
1617 uses : actions/checkout@v4
1718
1819 - name : Upload Pages artifact
19- uses : actions/upload-artifact@v4
20+ uses : actions/upload-pages- artifact@v3
2021 with :
21- name : pages
22- path : html
22+ path : html # folder that contains index.html etc.
2323
2424 deploy :
2525 needs : build
2626 runs-on : ubuntu-latest
27- permissions :
28- pages : write
29- id-token : write
27+ environment :
28+ name : github-pages
29+ url : ${{ steps.deployment.outputs.page_url }}
30+
3031 steps :
3132 - name : Deploy to GitHub Pages
32- uses : actions/deploy-pages@v1
33+ id : deployment
34+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments