feat: auto-deploy

This commit is contained in:
Andras Bacsai committed 2023-05-10 11:43:49 +02:00
1 parent c659683d92
commit c41bc8dac2
3 files changed
+20 -11

No files matched your search

+7
View File
@@ -135,4 +135,11 @@ class Application extends BaseModel
{
return Activity::where('subject_id', $this->id)->where('properties->type_uuid', '=', $deployment_uuid)->first();
}
public function isDeployable(): bool
{
if ($this->settings->is_auto_deploy) {
return true;
}
return false;
}
}