mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-18 04:59:31 +00:00
fix
This commit is contained in:
@@ -212,13 +212,9 @@ class Application extends BaseModel
|
||||
{
|
||||
if (data_get($this, 'private_key_id')) {
|
||||
return 'deploy_key';
|
||||
}
|
||||
if (data_get($this, 'source')) {
|
||||
} else if (data_get($this, 'source')) {
|
||||
return 'source';
|
||||
}
|
||||
if (data_get($this, 'private_key_id')) {
|
||||
return 'deploy_key';
|
||||
}
|
||||
throw new \Exception('No deployment type found');
|
||||
}
|
||||
public function could_set_build_commands(): bool
|
||||
|
||||
Reference in New Issue
Block a user