From 69ff373c81e97faddd5641d36481502589be767f Mon Sep 17 00:00:00 2001 From: Codex Date: Sat, 16 May 2026 18:14:10 +0000 Subject: [PATCH] fix: fetch gitee deploy sources over ssh --- scripts/src/deploy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/src/deploy.ts b/scripts/src/deploy.ts index ba31185e..eab02032 100644 --- a/scripts/src/deploy.ts +++ b/scripts/src/deploy.ts @@ -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; }