Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
Remove check for Github.com when using an access token
Browse files Browse the repository at this point in the history
This check isn't required and have successfully tested using a GitHub enterprise server. This tool doesn't work for me in CI without this change since I am not using SSH for auth
  • Loading branch information
FraserKillip authored Mar 31, 2020
1 parent 6de5007 commit 613c33b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/storybook_to_ghpages
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ console.log('=> Deploying storybook');
if (args.CI_DEPLOY) {
const { host, repository } = parseRepo(GIT_URL);

if (host === 'github.com' && args.HOST_TOKEN) {
if (args.HOST_TOKEN) {
GIT_URL = `https://${args.HOST_TOKEN}@${host}/${repository}`;
}
}
Expand Down

0 comments on commit 613c33b

Please sign in to comment.