Skip to content

Move to UV

Move to UV #2

Workflow file for this run

name: website
on:
pull_request: # TODO: only on main
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv and set the python version
uses: astral-sh/setup-uv@v6
with:
python-version: 3.9
enable-cache: true
- name: Install Poe
run: uv tool install poethepoet
- name: run pdoc
run: poe doc --ci
- uses: actions/upload-pages-artifact@v3
with:
path: docs/
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4