File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -53,15 +53,19 @@ jobs:
5353 - uses : actions/setup-python@v2
5454 with :
5555 python-version : " 3.12"
56+ - uses : hynek/setup-cached-uv@v2
57+ with :
58+ cache-suffix : -docs-${{ matrix.python-version }}-${{ env.WEEK }}
5659 - name : Install dependencies
5760 run : |
58- python -m pip install --upgrade pip
59- pip install -e '.[dev]'
61+ uv venv
62+ source .venv/bin/activate
63+ uv pip install -e . --group docs --group dev
6064 - name : Set up Git
6165 run : |
6266 git config user.name ${{ github.actor }}
6367 git config user.email ${{ github.actor }}@users.noreply.github.com
6468 - name : Build documentation
6569 run : |
6670 git fetch origin gh-pages
67- mike deploy --push --no-redirect --update-aliases $GITHUB_REF_NAME latest
71+ uv run mike deploy --push --alias-type=copy --update-aliases $GITHUB_REF_NAME latest
You can’t perform that action at this time.
0 commit comments