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

This commit is contained in:
Egor Matveev 2025-06-01 19:58:18 +03:00
parent 671f414e45
commit 81db99d44d

View File

@ -41,6 +41,8 @@ def update_host(host: str) -> bool:
gen_cert = call(gen_command)
if gen_cert.code != 0:
print(f"failed generating certificate: {gen_cert.err}")
print("Here is the log")
print(call(f"docker exec {container_name} cat /var/log/letsencrypt/letsencrypt.log").out)
return False
fullchain_command = call(f"docker exec {container_name} cat /etc/letsencrypt/live/{host}/fullchain.pem")