There was an error while loading. Please reload this page.
1 parent c411bb4 commit 0318e77Copy full SHA for 0318e77
1 file changed
.github/workflows/zola.yml
@@ -0,0 +1,22 @@
1
+name: Zola on GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ build:
10
+ name: Publish site
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout main
14
+ uses: actions/checkout@v4
15
16
+ - name: Add CNAME file
17
+ run: echo "zokipedia.hahwul.com" > static/CNAME
18
19
+ - name: Build and deploy
20
+ uses: shalzz/zola-deploy-action@v0.21.0
21
+ env:
22
+ GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
0 commit comments