Skip to content

Deploy Docs

Deploy Docs #56

Workflow file for this run

name: Deploy Docs
on:
release:
types:
- created
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
- name: Set up uv
uses: astral-sh/setup-uv@v2
with:
uv-version: latest
- name: Install dependencies
run: uv sync
- name: Build documentation
run: uv run mkdocs build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site