Update deploy_containers.py
Some checks failed
Deploy Containers / Prepare (push) Failing after 4s

This commit is contained in:
2026-01-10 15:29:26 -05:00
parent 1057e5599b
commit 248af84c40

View File

@@ -62,6 +62,9 @@ def main():
if len(new_diff) > 0:
deployed = deploy(",".join(new_diff))
else:
# success, nothing deployed
deployed = True
for task in removed_containers:
print(f"[MAIN] Attempting to remove containers related to '{task}'...")
@@ -85,7 +88,7 @@ def main():
print(f" All tasks: {', '.join(new_diff)}")
print("---------------------\n")
sys.exit(0)
elif not deployed and len(new_diff) > 0:
elif not deployed and len(new_diff) >:
print("\n---------------------")
print(" Deployment failed!")
print(f" All tasks: {', '.join(new_diff)}")