Skip to content

v0.1.2: fix PyPI README image, add project URLs #5

v0.1.2: fix PyPI README image, add project URLs

v0.1.2: fix PyPI README image, add project URLs #5

Workflow file for this run

---
name: Deploy docs
on: # yamllint disable-line rule:truthy
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4.2.2
with:
persist-credentials: false
- name: Install uv
uses: astral-sh/setup-uv@v6.4.3
with:
python-version: "3.12"
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Install docs dependencies
run: uv sync --group docs
- name: Build site
run: uv run --group docs mkdocs build --strict
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: site
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4