Skip to content

Commit 5f6a324

Browse files
Copilothzhangxyz
andauthored
Make docs workflow idempotent by using --update-aliases flag (#36)
* Initial plan * Make docs workflow idempotent by handling existing alias error Co-authored-by: hzhangxyz <[email protected]> * Use --update-aliases flag instead of error handling script Co-authored-by: hzhangxyz <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: hzhangxyz <[email protected]>
1 parent 19192b8 commit 5f6a324

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
3232
3333
- name: build docs
34-
run: mike deploy --push ${GITHUB_REF#refs/tags/} latest
34+
run: mike deploy --push --update-aliases ${GITHUB_REF#refs/tags/} latest
3535

3636
- name: set default
3737
run: mike set-default --push latest

0 commit comments

Comments
 (0)