deploy to github pages

This commit is contained in:
2023-11-21 16:25:38 +03:00
parent 574d97c728
commit 15b187b6b7
+18
View File
@@ -0,0 +1,18 @@
# 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/main'
steps:
- name: checkout
uses: actions/[email protected]
- name: build_and_deploy
uses: shalzz/zola-deploy-action@master
env:
# Target branch
PAGES_BRANCH: gh-pages
# Provide personal access token
TOKEN: ${{ secrets.TOKEN }}
BUILD_THEMES: false