Commit 78977e0 1 parent 398b740 commit 78977e0 Copy full SHA for 78977e0
File tree 3 files changed +51
-2
lines changed
3 files changed +51
-2
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 :
6
+ - v4
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
+ - name : Install Dependencies
26
+ run : npm ci
27
+ - name : Build Quartz
28
+ run : npx quartz build
29
+ - name : Upload artifact
30
+ uses : actions/upload-pages-artifact@v3
31
+ with :
32
+ path : public
33
+
34
+ deploy :
35
+ needs : build
36
+ environment :
37
+ name : github-pages
38
+ url : ${{ steps.deployment.outputs.page_url }}
39
+ runs-on : ubuntu-latest
40
+ steps :
41
+ - name : Deploy to GitHub Pages
42
+ id : deployment
43
+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1
1
---
2
- title : Welcome to Quartz
2
+ title : Index.md
3
+ description : root page
4
+ aliases : [main, root]
5
+ tags :
6
+ - docs
7
+ draft : false
8
+ date : 2024-07-21
3
9
---
4
10
5
11
This is a blank Quartz installation.
You can’t perform that action at this time.
0 commit comments