v1.1.0 #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Publish Docs | |
on: | |
release: | |
types: [published] | |
workflow_dispatch: | |
jobs: | |
build-and-publish-docs: | |
name: Build and publish docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
# Install uv package manager | |
- name: Install uv | |
run: | | |
python -m pip install --upgrade pip | |
pip install uv | |
- name: Install dependencies | |
run: | | |
uv sync --frozen --all-extras | |
- name: Build docs | |
run: uv run mkdocs build | |
- name: Publish docs | |
uses: JamesIves/[email protected] | |
with: | |
branch: docs | |
folder: site |