File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy GitHub Pages
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ # Manual trigger
8+ workflow_dispatch :
9+ # Optional: run when using GitHub merge queue
10+ merge_group :
11+
12+ permissions :
13+ contents : read
14+ pages : write
15+ id-token : write
16+
17+ concurrency :
18+ group : pages
19+ cancel-in-progress : true
20+
21+ jobs :
22+ deploy :
23+ runs-on : ubuntu-latest
24+ steps :
25+ - name : Checkout repository
26+ uses : actions/checkout@v4
27+
28+ - name : Setup Pages
29+ uses : actions/configure-pages@v5
30+
31+ - name : Disable Jekyll
32+ run : echo > .nojekyll
33+
34+ # For this project there is no build step; deploy the repo root
35+ - name : Upload Pages artifact
36+ uses : actions/upload-pages-artifact@v3
37+ with :
38+ path : .
39+
40+ - name : Deploy to GitHub Pages
41+ id : deploy
42+ uses : actions/deploy-pages@v4
43+
You can’t perform that action at this time.
0 commit comments