Fix issue with saving environment variables in ApplicationDeploymentJob.php
This commit is contained in:
parent
55ed0f2374
commit
b97240963e
@ -770,7 +770,6 @@ private function save_environment_variables()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($envs->isEmpty()) {
|
if ($envs->isEmpty()) {
|
||||||
$this->env_filename = null;
|
|
||||||
$this->execute_remote_command(
|
$this->execute_remote_command(
|
||||||
[
|
[
|
||||||
"command" => "rm -f $this->configuration_dir/{$this->env_filename}",
|
"command" => "rm -f $this->configuration_dir/{$this->env_filename}",
|
||||||
@ -778,6 +777,7 @@ private function save_environment_variables()
|
|||||||
"ignore_errors" => true
|
"ignore_errors" => true
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
$this->env_filename = null;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$this->execute_remote_command([
|
$this->execute_remote_command([
|
||||||
|
Loading…
Reference in New Issue
Block a user