fix
All checks were successful
Deploy Dev / Build (pull_request) Successful in 5s
Deploy Dev / Push (pull_request) Successful in 8s
Deploy Dev / Deploy dev (pull_request) Successful in 7s

This commit is contained in:
Egor Matveev 2025-06-01 19:25:26 +03:00
parent 7abedce009
commit 510bf7f2e6

View File

@ -31,6 +31,9 @@ def update_host(host: str) -> bool:
print(f"something wrong {container_id_run.err}")
return False
container_name = container_id_run.out
if not container_name:
print("Not correct node")
return False
gen_cert = call(f"docker exec -it {container_name} certbot --nginx --email emmtvv@gmail.com --agree-tos -d \"{host}\"")
if gen_cert.code != 0: