1 parent ac31784 commit fd597baCopy full SHA for fd597ba
1 file changed
.github/workflows/main.yml
@@ -0,0 +1,16 @@
1
+# On every push this script is executed
2
+on: push
3
+name: Build and deploy GH Pages
4
+jobs:
5
+ build:
6
+ runs-on: ubuntu-latest
7
+ if: github.ref == 'refs/heads/main'
8
+ steps:
9
+ - name: checkout
10
+ uses: actions/checkout@v4
11
+ - name: build_and_deploy
12
+ uses: shalzz/zola-deploy-action@master
13
+ env:
14
+ # Target branch
15
+ PAGES_BRANCH: gh-pages
16
+ TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments