File tree Expand file tree Collapse file tree 2 files changed +45
-43
lines changed Expand file tree Collapse file tree 2 files changed +45
-43
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy Quartz site to GitHub Pages
2+
3+ on :
4+ push :
5+ branches : ["docs"]
6+
7+
8+ permissions :
9+ contents : read
10+ pages : write
11+ id-token : write
12+
13+ concurrency :
14+ group : " pages"
15+ cancel-in-progress : false
16+
17+ jobs :
18+ build :
19+ runs-on : ubuntu-22.04
20+ steps :
21+ - uses : actions/checkout@v4
22+ with :
23+ fetch-depth : 0 # Fetch all history for git info
24+ - uses : actions/setup-node@v4
25+ with :
26+ node-version : 22
27+ - name : Install Dependencies
28+ run : npm ci
29+ - name : Build Quartz
30+ run : npx quartz build
31+ - name : Upload artifact
32+ uses : actions/upload-pages-artifact@v3
33+ with :
34+ path : ' ./public'
35+
36+ deploy :
37+ needs : build
38+ environment :
39+ name : github-pages
40+ url : ${{ steps.deployment.outputs.page_url }}
41+ runs-on : ubuntu-latest
42+ steps :
43+ - name : Deploy to GitHub Pages
44+ id : deployment
45+ uses : actions/deploy-pages@v4
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments