From ba8a6387f2d9b89fc42f7c53b6696414979e883a Mon Sep 17 00:00:00 2001 From: Hassan Kibirige Date: Tue, 20 Feb 2024 15:49:29 +0300 Subject: [PATCH] CI: Deploy documentation for pre-releases --- .github/utils/please.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/utils/please.py b/.github/utils/please.py index b3cf80036..5919ccc0a 100644 --- a/.github/utils/please.py +++ b/.github/utils/please.py @@ -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: