From 60665fded1334cbf44120695733278a9cb9ba8f9 Mon Sep 17 00:00:00 2001 From: Tim Monko Date: Fri, 1 Aug 2025 16:35:27 -0500 Subject: [PATCH] use uv for deploy --- .github/workflows/deploy_docs.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index a33967b..f2962fd 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -13,27 +13,19 @@ jobs: docs: runs-on: ubuntu-latest steps: - - name: Checkout repository - uses: actions/checkout@v4 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - - name: Setup python - uses: actions/setup-python@v5 + - uses: astral-sh/setup-uv@v6 with: - python-version: "3.12" - - - name: Install dependencies - run: | - python -m pip install --upgrade pip setuptools wheel - python -m pip install -e .[docs] + enable-cache: true - name: Test that docs build without error if: github.event_name == 'pull_request' - run: mkdocs build --strict + run: uv run mkdocs build --strict - name: Deploy docs to GitHub Pages if: github.event_name == 'push' - run: mkdocs gh-deploy --strict --force + run: uv run mkdocs gh-deploy --strict --force