Skip to content

Commit 84df834

Browse files
1 parent 3d1ac04 commit 84df834

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)