Switch to Duckquill for documentation #9
Workflow file for this run
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
name: Zola on GitHub Pages | |
on: | |
push: | |
branches: | |
- release | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: github.ref != 'refs/heads/release' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build only | |
uses: shalzz/[email protected] | |
env: | |
BUILD_DIR: site | |
BUILD_ONLY: true | |
build_and_deploy: | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/release' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build and deploy | |
uses: shalzz/[email protected] | |
env: | |
BUILD_DIR: site | |
PAGES_BRANCH: gh-pages | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |