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; }