mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 16:14:42 +00:00
Fix issue with saving environment variables in ApplicationDeploymentJob.php
This commit is contained in:
1 parent
55ed0f2374
commit
b97240963e
1 file changed
+1
-1
@@ -770,7 +770,6 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted
|
||||
}
|
||||
|
||||
if ($envs->isEmpty()) {
|
||||
$this->env_filename = null;
|
||||
$this->execute_remote_command(
|
||||
[
|
||||
"command" => "rm -f $this->configuration_dir/{$this->env_filename}",
|
||||
@@ -778,6 +777,7 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted
|
||||
"ignore_errors" => true
|
||||
]
|
||||
);
|
||||
$this->env_filename = null;
|
||||
return;
|
||||
}
|
||||
$this->execute_remote_command([
|
||||
|
||||
Reference in new issue
Block a user