diff --git a/script/update-website.ts b/script/update-website.ts index fb1e71a28..9fae7d148 100644 --- a/script/update-website.ts +++ b/script/update-website.ts @@ -25,7 +25,7 @@ async function pkg(): Promise<{}> { async function configureGithubRemote(name: string, project: string): Promise { const githubToken = process.env['GH_TOKEN'] || process.env['GITHUB_TOKEN']; - const url = githubToken ? `https://${githubToken}@github.com/${project}.git` : `https://github.com/${project}.git`; + const url = githubToken ? `https://${githubToken}@github.com/${project}.git` : `git@github.com:${project}.git`; try { await run('git', ['remote', 'remove', 'website']);