Skip to content

Commit 38fb964

Browse files
authored
fix(demo-build): fix demo dosc deployments (#6036)
1 parent f4729fa commit 38fb964

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: docs/main.ts

+1
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ if (environment.production) {
1515
}
1616

1717
platformBrowserDynamic().bootstrapModule(AppModule);
18+

Diff for: scripts/docs/build-docs.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ async function buildDocsApp(projectDir: string, baseHref: string) {
117117

118118
async function deploy(distDir: string) {
119119
await runCommand(
120-
`npx angular-cli-ghpages -S --dir . --repo=https://[email protected]/${REPO_OWNER}/${REPO_NAME}.git`,
120+
`npx angular-cli-ghpages -S --dir . --repo=https://${GH_TOKEN}@github.com/${REPO_OWNER}/${REPO_NAME}.git`,
121121
{ cwd: distDir, showLog: true },
122122
);
123123
}

0 commit comments

Comments
 (0)