test gh-pages

This commit is contained in:
2022-08-14 14:09:55 +02:00
parent 8f9ad835e4
commit 9819f308f1
2 changed files with 19 additions and 21 deletions

17
.github/workflows/action.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
# On every push this script is executed
on: push
name: Build and deploy GH Pages
jobs:
build:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/development'
steps:
- name: checkout
uses: actions/checkout@v2
- name: build_and_deploy
uses: shalzz/zola-deploy-action@v0.14.1
env:
# Target branch
PAGES_BRANCH: gh-pages
# Provide personal access token
TOKEN: ${{ secrets.TOKEN }}