Create website build action

This commit is contained in:
2021-11-05 19:57:05 +01:00
committed by GitHub
parent 492f151059
commit 4b8272e5dc

19
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
on:
push:
branches:
- master
name: Build and deploy GH Pages
jobs:
build:
runs-on: ubuntu-latest
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
BUILD_DIR: site
# Provide personal access token
TOKEN: ${{ secrets.TOKEN }}