Skip to content

docs: use Zola for static docs #1

docs: use Zola for static docs

docs: use Zola for static docs #1

Workflow file for this run

on:
push:
pull_request:
name: Build and deploy GH Pages
jobs:
build:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: checkout
uses: actions/checkout@v4
- name: build_and_deploy
uses: shalzz/[email protected]
env:
# Target branch
PAGES_BRANCH: gh-pages
# Or if publishing to the same repo, use the automatic token
TOKEN: ${{ secrets.GITHUB_TOKEN }}
BUILD_DIR: docs