fix: run_shell returns bool, not tuple
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user