We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ede58de commit 9472402Copy full SHA for 9472402
.github/workflows/deploy.yml
@@ -0,0 +1,35 @@
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: peaceiris/actions-gh-pages@v3
33
34
+ github_token: ${{ secrets.GITHUB_TOKEN }}
35
+ publish_dir: ./quartz/public
0 commit comments