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

Commit

Permalink
Merge pull request #80 from FraserKillip/patch-1
Browse files Browse the repository at this point in the history
Remove check for Github.com when using an access token
  • Loading branch information
hipstersmoothie authored Apr 2, 2020
2 parents befbdff + 613c33b commit 42b406f
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 42b406f

Please sign in to comment.