mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 05:19:37 +00:00
refactor(environment-variables): simplify application build pack check in environment variable handling
This commit is contained in:
1 parent
9480fc2b2f
commit
c8bc80f448
2 files changed
+2
-2
No files matched your search
@@ -57,7 +57,7 @@ class EnvironmentVariable extends BaseModel
|
||||
|
||||
if (! $found) {
|
||||
$application = Application::find($environment_variable->resourceable_id);
|
||||
if ($application && $application->build_pack !== 'dockerfile') {
|
||||
if ($application) {
|
||||
ModelsEnvironmentVariable::create([
|
||||
'key' => $environment_variable->key,
|
||||
'value' => $environment_variable->value,
|
||||
|
||||
Reference in new issue
Block a user