Skip to content

Commit

Permalink
CI: Deploy documentation for pre-releases
Browse files Browse the repository at this point in the history
  • Loading branch information
has2k1 committed Feb 20, 2024
1 parent 435c9b0 commit ba8a638
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/utils/please.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ def can_i_deploy_documentation() -> bool:
"""
Return True if documentation should be deployed
"""
return Git.is_release() or Git.branch() in ("main", "dev")
return (
Git.is_release()
or Git.is_pre_release()
or Git.branch() in ("main", "dev")
)


def where_can_i_deploy_documentation() -> str:
Expand Down

0 comments on commit ba8a638

Please sign in to comment.