Skip to content

Commit 1a8f77c

Browse files
authored
fix(demo-build): fix demo dosc deployments (#6040)
1 parent 9ce151f commit 1a8f77c

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

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+

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://${GH_TOKEN}@github.com/${REPO_OWNER}/${REPO_NAME}.git`,
120+
`npx angular-cli-ghpages -S --dir . --repo=https://github.com/${REPO_OWNER}/${REPO_NAME}.git`,
121121
{ cwd: distDir, showLog: true },
122122
);
123123
}

scripts/docs/config.ts

-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ export const REPO_URL = 'https://github.com/akveo/ngx-admin.git';
22
export const REPO_OWNER = 'akveo';
33
export const REPO_NAME = 'ngx-admin';
44
export const OUT_DIR = 'docs/dist'; // Relative to the directory you run command
5-
export const GH_TOKEN = '';

0 commit comments

Comments
 (0)