We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c8b7f0 commit a431389Copy full SHA for a431389
packages/angular-cli/commands/github-pages-deploy.ts
@@ -240,7 +240,7 @@ const githubPagesDeployCommand = Command.extend({
240
.then((stdout) => {
241
let match = stdout.match(/origin\s+(?:https:\/\/|git@)github\.com(?:\:|\/)([^\/]+)/m);
242
let userName = match[1].toLowerCase();
243
- let url = `https://${userName}.github.io/${options.userPage ? '' : (projectName + '/')}`;
+ let url = `https://${userName}.github.io/${options.userPage ? '' : (baseHref + '/')}`;
244
ui.writeLine(chalk.green(`Deployed! Visit ${url}`));
245
ui.writeLine('Github pages might take a few minutes to show the deployed site.');
246
});
0 commit comments