We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8c20da commit d47ae5cCopy full SHA for d47ae5c
.github/workflows/zola.yml
@@ -0,0 +1,28 @@
1
+on: push
2
+jobs:
3
+ build:
4
+ runs-on: ubuntu-latest
5
+ if: github.ref != 'refs/heads/master'
6
+ steps:
7
+ - name: 'checkout'
8
+ uses: actions/checkout@v4
9
+ - name: 'build'
10
+ uses: shalzz/zola-deploy-action@master
11
+ env:
12
+ PAGES_BRANCH: gh-pages
13
+ BUILD_DIR: .
14
+ TOKEN: ${{ secrets.TOKEN }}
15
+ # BUILD_ONLY: true
16
+ build_and_deploy:
17
18
+ if: github.ref == 'refs/heads/master'
19
20
21
22
+ - name: 'build and deploy'
23
24
25
+ PAGES_BRANCH: master
26
27
+ TOKEN: ${{ secrets.PUBLIC_TOKEN }}
28
+ REPOSITORY: username/username.github.io
0 commit comments