Skip to content

Commit

Permalink
fix(github-pages-deploy): Show more accurate url (#3160)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wenchen Li authored and hansl committed Nov 16, 2016
1 parent 7c8b7f0 commit a431389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/angular-cli/commands/github-pages-deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ const githubPagesDeployCommand = Command.extend({
.then((stdout) => {
let match = stdout.match(/origin\s+(?:https:\/\/|git@)github\.com(?:\:|\/)([^\/]+)/m);
let userName = match[1].toLowerCase();
let url = `https://${userName}.github.io/${options.userPage ? '' : (projectName + '/')}`;
let url = `https://${userName}.github.io/${options.userPage ? '' : (baseHref + '/')}`;
ui.writeLine(chalk.green(`Deployed! Visit ${url}`));
ui.writeLine('Github pages might take a few minutes to show the deployed site.');
});
Expand Down

0 comments on commit a431389

Please sign in to comment.