We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ede58de commit d45d853Copy full SHA for d45d853
.github/workflows/deploy.yml
@@ -0,0 +1,36 @@
1
+name: Build and Deploy Quartz Site
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout repository
14
+ uses: actions/checkout@v2
15
16
+ - name: Set up Node.js
17
+ uses: actions/setup-node@v2
18
+ with:
19
+ node-version: "21"
20
21
+ - name: Install dependencies
22
+ run: |
23
+ cd quartz
24
+ npm install
25
26
+ - name: Build site
27
28
29
+ npm run build
30
31
+ - name: Deploy to GitHub Pages
32
+ uses: JamesIves/github-pages-deploy-action@v4
33
34
+ branch: gh-pages
35
+ folder: quartz/public
36
+ ssh-key: ${{ secrets.DEPLOY }}
0 commit comments