Skip to content

Commit

Permalink
fix: packages/docusaurus/src/commands/deploy.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
  • Loading branch information
wpyoga and Josh-Cena committed Oct 31, 2021
1 parent 40049c7 commit 4c94610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docusaurus/src/commands/deploy.ts
Expand Up @@ -69,7 +69,7 @@ This behavior can have SEO impacts and create relative link issues.

const repoUrlUseSSH =
currentRepoUrl.match(/^ssh:\/\//) !== null ||
currentRepoUrl.match(/^([\w\-]+@)?[\w.\-]+:[\w.\-\/_]+(\.git)?/) !== null;
currentRepoUrl.match(/^([\w-]+@)?[\w.-]+:[\w.\-/_]+(\.git)?/) !== null;

const envUseSSH =
process.env.USE_SSH !== undefined &&
Expand Down

0 comments on commit 4c94610

Please sign in to comment.