diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.php index 98c189275..3c7ea68db 100644 --- a/app/Jobs/ApplicationDeploymentJob.php +++ b/app/Jobs/ApplicationDeploymentJob.php @@ -1377,7 +1377,7 @@ private function generate_environment_variables($ports) // Old environment variables are not escaped, because it could break the application // as the application could expect the unescaped value. if ($env->version === '4.0.0-beta.239') { - $real_value = $env->value; + $real_value = $env->real_value; } else { $real_value = escapeEnvVariables($env->real_value); } @@ -1385,7 +1385,7 @@ private function generate_environment_variables($ports) } foreach ($this->application->nixpacks_environment_variables as $env) { if ($env->version === '4.0.0-beta.239') { - $real_value = $env->value; + $real_value = $env->real_value; } else { $real_value = escapeEnvVariables($env->real_value); } @@ -1394,7 +1394,7 @@ private function generate_environment_variables($ports) } else { foreach ($this->application->runtime_environment_variables_preview as $env) { if ($env->version === '4.0.0-beta.239') { - $real_value = $env->value; + $real_value = $env->real_value; } else { $real_value = escapeEnvVariables($env->real_value); } @@ -1402,7 +1402,7 @@ private function generate_environment_variables($ports) } foreach ($this->application->nixpacks_environment_variables_preview as $env) { if ($env->version === '4.0.0-beta.239') { - $real_value = $env->value; + $real_value = $env->real_value; } else { $real_value = escapeEnvVariables($env->real_value); }