Update nixpacks build command in ApplicationDeploymentJob.php

This commit is contained in:
Andras Bacsai 2024-01-03 21:14:02 +01:00
parent 6159783a73
commit 206bd50d00

View File

@ -883,7 +883,7 @@ private function nixpacks_build_cmd()
// if ($this->pull_request_id !== 0) { // if ($this->pull_request_id !== 0) {
// $cacheKey = "{$this->application->uuid}-pr-{$this->pull_request_id}"; // $cacheKey = "{$this->application->uuid}-pr-{$this->pull_request_id}";
// } // }
$nixpacks_command = "nixpacks build --no-cache {$this->env_args} --no-error-without-start"; $nixpacks_command = "nixpacks build {$this->env_args} --no-error-without-start";
if ($this->application->build_command) { if ($this->application->build_command) {
$nixpacks_command .= " --build-cmd \"{$this->application->build_command}\""; $nixpacks_command .= " --build-cmd \"{$this->application->build_command}\"";
} }