File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 1- # .github/workflows/deploy.yml
2- name : Deploy to GitHub Pages
1+ name : Deploy static content to Pages
32
43on :
54 push :
6- branches : [main]
5+ branches : ["main"]
6+
7+ workflow_dispatch :
78
89permissions :
910 contents : read
@@ -16,18 +17,19 @@ concurrency:
1617
1718jobs :
1819 deploy :
20+ environment :
21+ name : github-pages
22+ url : ${{ steps.deployment.outputs.page_url }}
1923 runs-on : ubuntu-latest
2024 steps :
21- - name : Checkout repository
25+ - name : Checkout
2226 uses : actions/checkout@v4
23-
2427 - name : Setup Pages
2528 uses : actions/configure-pages@v5
26-
27- - name : Upload to GitHub Pages
29+ - name : Upload artifact
2830 uses : actions/upload-pages-artifact@v3
2931 with :
3032 path : ' .'
31-
3233 - name : Deploy to GitHub Pages
33- uses : actions/deploy-pages@v4
34+ id : deployment
35+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments