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 a1333db commit 8a54a91Copy full SHA for 8a54a91
.github/workflows/deploy.yml
@@ -0,0 +1,30 @@
1
+on:
2
+ push:
3
+ branches:
4
+ - main
5
+ pull_request:
6
+jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ if: github.ref != 'refs/heads/master'
10
+ steps:
11
+ - name: 'Checkout'
12
+ uses: actions/checkout@master
13
+ - name: 'Build only'
14
+ uses: shalzz/zola-deploy-action@master
15
+ env:
16
+ BUILD_DIR: .
17
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18
+ BUILD_ONLY: true
19
+ build_and_deploy:
20
21
+ if: github.ref == 'refs/heads/main'
22
23
24
25
+ - name: 'Build and deploy'
26
27
28
+ PAGES_BRANCH: gh-pages
29
30
.nojekyll
0 commit comments