Compare commits
No commits in common. "41072ac03f50e6185835b0cd067c3c5e8db474ae" and "43191f99a99505753a6ae92ad24fac6a635d018b" have entirely different histories.
41072ac03f
...
43191f99a9
6
main.py
6
main.py
@ -80,9 +80,7 @@ while True:
|
|||||||
updated = True
|
updated = True
|
||||||
if updated:
|
if updated:
|
||||||
if os.getenv("STAGE") == "development":
|
if os.getenv("STAGE") == "development":
|
||||||
result = call("docker service update --force infra-development_nginx")
|
call("docker service update --force infra-development_nginx")
|
||||||
else:
|
else:
|
||||||
result = call("docker service update --force infra_nginx")
|
call("docker service update --force infra_nginx")
|
||||||
|
|
||||||
print(result.err, result.out)
|
|
||||||
time.sleep(30)
|
time.sleep(30)
|
||||||
|
Loading…
Reference in New Issue
Block a user