diff --git a/deploy.py b/deploy.py index 0a606b9..913ab62 100644 --- a/deploy.py +++ b/deploy.py @@ -33,6 +33,8 @@ def handle_request(rq: DeployerRequest): ) print(by_branch) return + else: + print(f"deploying {rq.user}/{rq.repo}/{rq.branch} ({rq.commit_hash})") domain, port = itemgetter("domain", "port")( by_branch[(rq.user, rq.repo, rq.branch)] @@ -57,7 +59,6 @@ def handle_request(rq: DeployerRequest): f"./build.sh > {build_log} 2>&1", ], user="root", - shell=True, env=dict( os.environ, DOMAIN=domain,