Skip to content

Commit ce980e1

Browse files
authored
chore(ci): fix documentation release with mike (#643)
* chore(ci): remove mike set-default command for latest * chore(ci): fix invalid checkout for doc release
1 parent fba77bd commit ce980e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/docs.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0 # Fetch all branches to include 'gh-pages' branch
2325
- uses: actions/setup-python@v5
2426
with:
2527
python-version: 3.x
@@ -55,5 +57,4 @@ jobs:
5557
if: startsWith(github.ref, 'refs/tags/')
5658
run: |
5759
mike deploy --push --update-aliases ${{ github.ref_name }} latest
58-
mike set-default --push latest
5960
echo "Deployed version ${{ github.ref_name }} to GitHub Pages"

0 commit comments

Comments
 (0)