mirror of
https://github.com/house-of-vanity/house-of-vanity.github.io.git
synced 2025-07-07 16:54:06 +00:00
2.5
This commit is contained in:
6
.github/workflows/build-and-publish.yaml
vendored
6
.github/workflows/build-and-publish.yaml
vendored
@ -6,9 +6,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.ref == 'refs/heads/zola'
|
if: github.ref == 'refs/heads/zola'
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3.0.0
|
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
|
uses: shalzz/zola-deploy-action@v0.17.2
|
||||||
env:
|
env:
|
||||||
PAGES_BRANCH: gh-pages
|
PAGES_BRANCH: gh-pages
|
||||||
|
@ -26,6 +26,8 @@ highlight_theme = "demain"
|
|||||||
|
|
||||||
version = "2.5"
|
version = "2.5"
|
||||||
|
|
||||||
|
tag = "LOCAL"
|
||||||
|
|
||||||
# control dark mode: auto | dark | toggle
|
# control dark mode: auto | dark | toggle
|
||||||
mode = "toggle"
|
mode = "toggle"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user