Build and push obisidan-zola to pasges branch #223
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# On every push this script is executed | |
on: [push, workflow_dispatch] | |
name: Build and push obisidan-zola to pasges branch | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/main' | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: build_and_deploy | |
# In the spot where it says v0.1.3.2-testing, update that to the latest release tag on a new release to continue getting new updates | |
uses: trwbox/obsidian-zola-build-action@v0.1.3.2-testing | |
env: | |
# Target branch | |
PAGES_BRANCH: gh-pages | |
# Provide personal access token | |
TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# Using zola fork for html changes | |
ZOLA_REPO: https://github.com/rwtechwiki/obsidian-zola.git |