This commit is contained in:
2023-08-25 17:24:36 +03:00
parent cb9bbcb698
commit 04526405b8
2 changed files with 6 additions and 2 deletions

View File

@ -6,9 +6,11 @@ jobs:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/zola'
steps:
- name: checkout
- name: Checkout
uses: actions/checkout@v3.0.0
- name: build_and_deploy
- name: Set commit id
run: sed -e "s/tag\ =.*/tag = \"${REV}\"/" -i config.toml
- name: Build and push to gh-pages branch
uses: shalzz/zola-deploy-action@v0.17.2
env:
PAGES_BRANCH: gh-pages

View File

@ -26,6 +26,8 @@ highlight_theme = "demain"
version = "2.5"
tag = "LOCAL"
# control dark mode: auto | dark | toggle
mode = "toggle"