mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 04:14:59 +00:00
add env variables to deployment
This commit is contained in:
1 parent
1e98cddaa6
commit
23f58b8c13
5 files changed
+51
-15
No files matched your search
@@ -78,6 +78,10 @@ class Application extends BaseModel
|
||||
{
|
||||
return $this->hasMany(EnvironmentVariable::class);
|
||||
}
|
||||
public function build_environment_variables(): HasMany
|
||||
{
|
||||
return $this->hasMany(EnvironmentVariable::class)->where('is_build_time', true);
|
||||
}
|
||||
public function environment()
|
||||
{
|
||||
return $this->belongsTo(Environment::class);
|
||||
|
||||
Reference in new issue
Block a user