remove shell arg

This commit is contained in:
2025-08-02 01:03:35 -04:00
parent 2afb08671c
commit 0f6f2c8382

View File

@@ -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,