diff --git a/deploy.py b/deploy.py index ee49f3a..056578a 100644 --- a/deploy.py +++ b/deploy.py @@ -43,6 +43,8 @@ def handle_request(rq: DeployerRequest): domain_dir = f"{DEPLOYERDIR}/{domain}" logs_dir = f"{domain_dir}/logs/{deployment_id}" + os.makedirs(logs_dir, exist_ok=True) + build_log = f"{logs_dir}/build.log" subprocess.Popen(