fix: run_shell returns bool, not tuple

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Deeman
2026-02-23 18:36:46 +01:00
parent e35e01edb1
commit 1c195f3c05

View File

@@ -321,7 +321,7 @@ def tick() -> None:
# Deploy web app if code changed # Deploy web app if code changed
if os.getenv("SUPERVISOR_GIT_PULL") and web_code_changed(): if os.getenv("SUPERVISOR_GIT_PULL") and web_code_changed():
logger.info("Web code changed — deploying") logger.info("Web code changed — deploying")
ok, _ = run_shell("./deploy.sh") ok = run_shell("./deploy.sh")
if ok: if ok:
send_alert("Deploy succeeded") send_alert("Deploy succeeded")
else: else: