* Fix missing Gogs,Gitea.

This commit is contained in:
Lufei
2023-02-02 15:47:10 +08:00
parent 5c019e1a81
commit 4a9cadf0b5

View File

@@ -236,7 +236,7 @@ class gitModel extends model
*/
public function setRepos()
{
$repos = $this->loadModel('repo')->getListBySCM('Git,Gitlab');
$repos = $this->loadModel('repo')->getListBySCM('Git,Gitlab,Gogs,Gitea');
$gitRepos = array();
$paths = array();
foreach($repos as $repo)