refactor: Update save_environment_variables method to use application's environment_variables instead of environment_variables_preview
This commit is contained in:
parent
a157f4f17b
commit
2f321bcfd9
1 changed files with 1 additions and 1 deletions
|
|
@ -792,7 +792,7 @@ private function save_environment_variables()
|
|||
$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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue