An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
refactor: Update save_environment_variables method to use application's environment_variables instead of environment_variables_preview
Andras Bacsai2f321bcfd960
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.phpindex e60bfac904..6b06a2508d 100644--- a/app/Jobs/ApplicationDeploymentJob.php+++ b/app/Jobs/ApplicationDeploymentJob.php@@ -792,7 +792,7 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted$url = str($this->application->fqdn)->replace('http://', '')->replace('https://', '');$envs->push("COOLIFY_URL={$url}");}- if ($this->application->environment_variables_preview->where('key', 'COOLIFY_BRANCH')->isEmpty()) {+ if ($this->application->environment_variables->where('key', 'COOLIFY_BRANCH')->isEmpty()) {$envs->push("COOLIFY_BRANCH={$local_branch}");}foreach ($sorted_environment_variables as $env) {