Skip to content

test

test #26

Workflow file for this run

name: Build documentation and deploy to GitHub Pages
on:
push:
# branches:
# - main
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@v5
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version-file: ".python-version"
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Generate API reference markdown files
run: python scripts/generate_api_reference.py
- name: Build documentation site
run: uv run --no-project --with zensical --with mkdocstrings-python zensical build --clean
# - name: Upload artifact
# uses: actions/upload-pages-artifact@v4
# with:
# path: site
# - name: Deploy to GitHub Pages
# uses: actions/deploy-pages@v4
# id: deployment