Fix issue with saving environment variables and update version numbers

This commit is contained in:
Andras Bacsai
2024-04-17 12:08:35 +02:00
parent 6b890cf3b3
commit 98c2056f53
4 changed files with 11 additions and 3 deletions

View File

@@ -791,6 +791,14 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted
"echo '{$this->saved_outputs->get('dotenv')->value()}' | tee $this->configuration_dir/.env > /dev/null"
]
);
} else {
$this->execute_remote_command(
[
"command" => "rm -f $this->configuration_dir/.env",
"hidden" => true,
"ignore_errors" => true
]
);
}
$envs_base64 = base64_encode($envs->implode("\n"));
$this->execute_remote_command(