File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy to GitHub Pages
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ deploy :
10+ if : github.actor != 'github-actions[bot]'
11+ runs-on : ubuntu-latest
12+ permissions :
13+ contents : read
14+ pages : write
15+ id-token : write
16+ environment :
17+ name : github-pages
18+ url : ${{ steps.deployment.outputs.page_url }}
19+ steps :
20+ - uses : actions/checkout@v4
21+ - name : Setup Pages
22+ uses : actions/configure-pages@v4
23+ - name : Upload artifact
24+ uses : actions/upload-pages-artifact@v3
25+ with :
26+ path : ' .'
27+ - name : Deploy to GitHub Pages
28+ id : deployment
29+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7+ paths-ignore :
8+ - ' README.md'
79
810permissions :
911 contents : write
You can’t perform that action at this time.
0 commit comments