Skip to content

Merge pull request #11 from HauserGroup/actual-actual-o2pls #7

Merge pull request #11 from HauserGroup/actual-actual-o2pls

Merge pull request #11 from HauserGroup/actual-actual-o2pls #7

Workflow file for this run

name: Docs
on:
push:
branches: [main]
workflow_dispatch:
# Deploy via the GitHub Pages "GitHub Actions" source (set it in repo
# Settings -> Pages). Zensical has no `gh-deploy`; we build and upload the
# site as a Pages artifact instead.
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/configure-pages@v6
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v8.1.0
with:
python-version: "3.13"
enable-cache: true
- run: uv sync --dev
- run: uv run zensical build --clean
- uses: actions/upload-pages-artifact@v5
with:
path: site
- uses: actions/deploy-pages@v5
id: deployment