envs are important

This commit is contained in:
2025-08-02 01:33:34 -04:00
parent 8778090bbc
commit 2e734ddea9
2 changed files with 11 additions and 2 deletions

8
build.log Normal file
View File

@@ -0,0 +1,8 @@
starting build from root/: ()
fatal: repository './src' does not exist
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
make: *** No rule to make target 'build'. Stop.
build complete!
Failed to restart deployer-.service: Unit deployer-.service not found.

View File

@@ -51,8 +51,9 @@ def handle_request(rq: DeployerRequest):
[
"tmux",
"new-session",
"-d",
"-s",
"-L", # pass environment variables
"-d", # detach
"-s", # name
f"{domain}-build-{deployment_id}",
f"'sudo ./deploy.sh > {build_log} 2>&1'",
],