fix: fetch gitee deploy sources over ssh
This commit is contained in:
@@ -213,7 +213,7 @@ function candidateRepoUrls(repo: string): string[] {
|
||||
|
||||
function providerSourceRepoUrl(repo: string): string {
|
||||
const slug = repoSlug(repo);
|
||||
if (slug === null || !slug.startsWith("github.com/")) return repo;
|
||||
if (slug === null || (!slug.startsWith("github.com/") && !slug.startsWith("gitee.com/"))) return repo;
|
||||
return sshUrlForSlug(slug) ?? repo;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user