Skip to content

fix: update pyproject.toml to correct docs commands and ensure pymdow… #41

fix: update pyproject.toml to correct docs commands and ensure pymdow…

fix: update pyproject.toml to correct docs commands and ensure pymdow… #41

Workflow file for this run

name: Deploy Documentation
on:
push:
branches: [ main ]
workflow_dispatch:
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Install dependencies
run: |
uv sync
- name: Build documentation
run: uv run task docs-build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
publish_branch: gh-pages