mirror of
https://github.com/tiennm99/coolify.git
synced 2026-06-27 19:05:43 +00:00
fix(deployment): resolve shared env vars using main server
Use `$this->mainServer` when resolving environment variable values across deployment env generation (runtime, buildtime, nixpacks, args, and secrets hash) so shared server-scoped values are applied consistently. Also add `server_id` to `SharedEnvironmentVariable::$fillable` and normalize the Livewire Blade file newline.
This commit is contained in:
@@ -17,6 +17,7 @@ class SharedEnvironmentVariable extends Model
|
||||
'team_id',
|
||||
'project_id',
|
||||
'environment_id',
|
||||
'server_id',
|
||||
|
||||
// Boolean flags
|
||||
'is_multiline',
|
||||
|
||||
Reference in New Issue
Block a user