remove shell arg
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user