Skip to content

fix: add "uv run" prefix #10

fix: add "uv run" prefix

fix: add "uv run" prefix #10

Workflow file for this run

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Set up Python
run: uv python install 3.11
- name: Set up virtual environment
run: uv venv --python 3.11
- name: Activate virtual environment
run: source .venv/bin/activate
- name: Load development dependencies
run: uv sync --dev
- name: Generate documentation
run: uv run pdoc src/**/*.py --output docs/
- 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
name: Convert docstrings to Pdoc pages
on:
push:
branches:
- master
permissions:
contents: read