From b0673696517a1a558374d2926275568f5959df59 Mon Sep 17 00:00:00 2001 From: Agent Zero Date: Sun, 26 Jul 2026 00:59:10 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20deploy.py=20status=20check=20=E2=80=94?= =?UTF-8?q?=20accept=20finished=20as=20success?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy.py b/scripts/deploy.py index 9a5d7a7..e3839f7 100644 --- a/scripts/deploy.py +++ b/scripts/deploy.py @@ -170,7 +170,7 @@ def wait_for_deployment(client: CoolifyClient, deployment_uuid: str, timeout: in status = dep.get("status", "unknown") elapsed = int(time.time() - start) print(f" [{elapsed}s] Status: {status}") - if status == "success": + if status in ("success", "finished"): return DeployResult(True, "Deployment successful", time.time() - start, dep) if status == "failed": return DeployResult(False, f"Deployment failed: {dep.get('message', 'unknown')}", time.time() - start, dep)