From 0f6f2c838285b2ef941303ad5bcc980c0e3b0d9f Mon Sep 17 00:00:00 2001 From: Daniel McCrystal Date: Sat, 2 Aug 2025 01:03:35 -0400 Subject: [PATCH] remove shell arg --- deploy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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,