envs are important
This commit is contained in:
8
build.log
Normal file
8
build.log
Normal 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.
|
||||||
@@ -51,8 +51,9 @@ def handle_request(rq: DeployerRequest):
|
|||||||
[
|
[
|
||||||
"tmux",
|
"tmux",
|
||||||
"new-session",
|
"new-session",
|
||||||
"-d",
|
"-L", # pass environment variables
|
||||||
"-s",
|
"-d", # detach
|
||||||
|
"-s", # name
|
||||||
f"{domain}-build-{deployment_id}",
|
f"{domain}-build-{deployment_id}",
|
||||||
f"'sudo ./deploy.sh > {build_log} 2>&1'",
|
f"'sudo ./deploy.sh > {build_log} 2>&1'",
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user