fix: fetch gitee deploy sources over ssh

This commit is contained in:
Codex
2026-05-16 18:14:10 +00:00
parent b2efe95d1f
commit 69ff373c81
+1 -1
View File
@@ -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;
}