Skip to content

Commit 1a910eb

Browse files
committed
Added build'n'deploy action
1 parent a4b7454 commit 1a910eb

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/deploy.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/master'
8+
steps:
9+
- name: checkout
10+
uses: actions/checkout@v2
11+
- name: build_and_deploy
12+
uses: shalzz/zola-deploy-action@v0.16.1
13+
env:
14+
# Target branch
15+
PAGES_BRANCH: gh-pages
16+
TOKEN: ${{ secrets.GH_PAT }}

0 commit comments

Comments
 (0)