Skip to content

Commit fd2ec3e

Browse files
author
Zijun Wang
committed
test
1 parent 3503b23 commit fd2ec3e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish-doc.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: publish-doc
33
on:
44
push:
55
branches:
6-
- main
6+
- doc-versioning
77
jobs:
88
publish-docs:
99
runs-on: ubuntu-latest
@@ -25,5 +25,7 @@ jobs:
2525
python -m pip install --upgrade pip
2626
pip install mkdocs-material mike
2727
- name: Build
28-
run: mike deploy 1.0.5 latest --update-aliases --push
28+
run: |
29+
mike deploy 1.0.5 latest --update-aliases --push
30+
mike set-default latest --allow-empty
2931

0 commit comments

Comments
 (0)