Skip to content

Commit

Permalink
fix(demo-build): fix demo dosc deployments (#6040)
Browse files Browse the repository at this point in the history
  • Loading branch information
denStrigo authored Sep 24, 2024
1 parent 9ce151f commit 1a8f77c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ if (environment.production) {
}

platformBrowserDynamic().bootstrapModule(AppModule);

2 changes: 1 addition & 1 deletion scripts/docs/build-docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ async function buildDocsApp(projectDir: string, baseHref: string) {

async function deploy(distDir: string) {
await runCommand(
`npx angular-cli-ghpages -S --dir . --repo=https://${GH_TOKEN}@github.com/${REPO_OWNER}/${REPO_NAME}.git`,
`npx angular-cli-ghpages -S --dir . --repo=https://github.com/${REPO_OWNER}/${REPO_NAME}.git`,
{ cwd: distDir, showLog: true },
);
}
Expand Down
1 change: 0 additions & 1 deletion scripts/docs/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ export const REPO_URL = 'https://github.com/akveo/ngx-admin.git';
export const REPO_OWNER = 'akveo';
export const REPO_NAME = 'ngx-admin';
export const OUT_DIR = 'docs/dist'; // Relative to the directory you run command
export const GH_TOKEN = '';

0 comments on commit 1a8f77c

Please sign in to comment.