Skip to content

Commit 13feb6c

Browse files
committed
fix: update mike deployment options
1 parent b4963b5 commit 13feb6c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)