File tree Expand file tree Collapse file tree 1 file changed +16
-17
lines changed
Expand file tree Collapse file tree 1 file changed +16
-17
lines changed Original file line number Diff line number Diff line change @@ -3,36 +3,35 @@ name: Deploy to GitHub Pages
33on :
44 push :
55 branches : [ main ]
6- pull_request :
7- branches : [ main ]
6+ workflow_dispatch :
87
98jobs :
109 deploy :
1110 runs-on : ubuntu-latest
1211
12+ # Permissions needed for GitHub Pages
13+ permissions :
14+ contents : read
15+ pages : write
16+ id-token : write
17+
18+ # Allow only one concurrent deployment
19+ environment :
20+ name : github-pages
21+ url : ${{ steps.deployment.outputs.page_url }}
22+
1323 steps :
1424 - name : Checkout
15- uses : actions/checkout@v3
25+ uses : actions/checkout@v4
1626
1727 - name : Setup Pages
18- uses : actions/configure-pages@v3
28+ uses : actions/configure-pages@v4
1929
2030 - name : Upload artifact
21- uses : actions/upload-pages-artifact@v2
31+ uses : actions/upload-pages-artifact@v3
2232 with :
2333 path : ' .'
2434
2535 - name : Deploy to GitHub Pages
2636 id : deployment
27- uses : actions/deploy-pages@v2
28-
29- # Permissions needed for GitHub Pages
30- permissions :
31- contents : read
32- pages : write
33- id-token : write
34-
35- # Allow only one concurrent deployment
36- concurrency :
37- group : " pages"
38- cancel-in-progress : false
37+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments