File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build Jekyll site
2+ on :
3+ push :
4+ branches : ["main"]
5+ permissions :
6+ contents : read
7+ pages : write
8+ id-token : write
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v4
15+ with :
16+ submodules : ' recursive' # This will recursively clone submodules
17+ fetch-depth : 0 # Fetch all history for .GitInfo and .Lastmod
18+ - name : Setup Pages
19+ uses : actions/configure-pages@v5
20+ - name : Build
21+ uses : actions/jekyll-build-pages@v1
22+ - name : Upload artifact
23+ uses : actions/upload-pages-artifact@v3
24+ deploy :
25+ runs-on : ubuntu-latest
26+ needs : build
27+ steps :
28+ - name : Deploy to GitHub Pages
29+ id : deployment
30+ uses : actions/deploy-pages@v4
31+ environment :
32+ name : github-pages
33+ url : ${{ steps.deployment.outputs.page_url }}
You can’t perform that action at this time.
0 commit comments