mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 00:14:24 +00:00
fix: deployment key based works
This commit is contained in:
1 parent
1342634907
commit
4f98cef7cb
4 files changed
+9
-5
No files matched your search
@@ -195,6 +195,9 @@ class Application extends BaseModel
|
||||
}
|
||||
public function deploymentType()
|
||||
{
|
||||
if (data_get($this, 'private_key_id')) {
|
||||
return 'deploy_key';
|
||||
}
|
||||
if (data_get($this, 'source')) {
|
||||
return 'source';
|
||||
}
|
||||
@@ -203,4 +206,4 @@ class Application extends BaseModel
|
||||
}
|
||||
throw new \Exception('No deployment type found');
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user