fix: base64 encode .env
This commit is contained in:
parent
e2cd7fe17e
commit
67011ccd72
@ -791,9 +791,10 @@ private function save_environment_variables()
|
||||
"save" => "dotenv"
|
||||
]);
|
||||
if (str($this->saved_outputs->get('dotenv'))->isNotEmpty()) {
|
||||
$base64_dotenv = base64_encode($this->saved_outputs->get('dotenv')->value());
|
||||
$this->execute_remote_command(
|
||||
[
|
||||
"echo '{$this->saved_outputs->get('dotenv')->value()}' | tee $this->configuration_dir/.env > /dev/null"
|
||||
"echo '{$base64_dotenv}' | base64 -d | tee $this->configuration_dir/.env > /dev/null"
|
||||
]
|
||||
);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user