Skip to content

Commit

Permalink
docs workflow: use uv
Browse files Browse the repository at this point in the history
  • Loading branch information
amorison committed Aug 26, 2024
1 parent f568c5e commit 2a69669
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,14 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
UV_PYTHON: 3.12
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- uses: actions/setup-python@v5
with:
python-version: 3.12
- run: python3 -m pip install -U pip
- run: python3 -m pip install -r docs/requirements.txt
- run: python3 -m pip install .
- run: mkdocs build --strict -d site
- uses: extractions/setup-just@v2
- run: curl -LsSf https://astral.sh/uv/install.sh | sh
- run: uv sync
- run: just mkdocs build --strict -d site
- uses: actions/upload-pages-artifact@v3
with:
path: "site/"
Expand Down

0 comments on commit 2a69669

Please sign in to comment.