From d61f8d798e091820a63d7fab24a56b30acf3718b Mon Sep 17 00:00:00 2001 From: Raphael Bitton Date: Thu, 9 Oct 2025 22:13:06 -0500 Subject: [PATCH] almost working --- webhook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webhook.py b/webhook.py index b6ba027..50edae9 100755 --- a/webhook.py +++ b/webhook.py @@ -22,7 +22,7 @@ class Handler(BaseHTTPRequestHandler): # Rebuild site subprocess.run(["zola", "build", "--force"], cwd="/site/src", check=False) - subprocess.run(["sh", "-c", "cp -r /site/src/public/* /usr/share/nginx/html/"], shell=True, check=False) + subprocess.run("cp -r /site/src/public/* /usr/share/nginx/html/", shell=True, check=False) self.send_response(200) self.end_headers()