Compare commits

..

No commits in common. "df0af634d6249ec9b07c4c883cfc9ea39ce2bb2d" and "41072ac03f50e6185835b0cd067c3c5e8db474ae" have entirely different histories.

View File

@ -80,8 +80,7 @@ while True:
updated = True updated = True
if updated: if updated:
if os.getenv("STAGE") == "development": if os.getenv("STAGE") == "development":
container_id_run = call(f"echo $(docker ps -q -f name=infra-development_nginx)") result = call("docker service update --force infra-development_nginx")
result = call(f"docker restart {container_id_run.out}")
else: else:
result = call("docker service update --force infra_nginx") result = call("docker service update --force infra_nginx")