Skip to content

Commit

Permalink
Fix set default
Browse files Browse the repository at this point in the history
  • Loading branch information
pankajastro committed Jan 9, 2025
1 parent 4d17c0e commit d46d7fc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/docs_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ def deploy_docs(deploy_type: str):

if deploy_type == "release":
if _version.pre is not None:
command = ["mike", "deploy", "--push", "dev"]
# TODO: Remove L17-L18
# command = ["mike", "deploy", "--push", "dev"]
# TODO: Remove L17-L19
command = ["mike", "deploy", "--push", "--update-aliases", str(_version), "latest"]
set_default = True
else:
command = ["mike", "deploy", "--push", "--update-aliases", str(_version), "latest"]
Expand Down

0 comments on commit d46d7fc

Please sign in to comment.