mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 07:30:12 +01:00
fix(demo-build): fix demo dosc deployments (#6040)
This commit is contained in:
parent
9ce151f8e0
commit
1a8f77c737
3 changed files with 2 additions and 2 deletions
|
|
@ -15,3 +15,4 @@ if (environment.production) {
|
|||
}
|
||||
|
||||
platformBrowserDynamic().bootstrapModule(AppModule);
|
||||
|
||||
|
|
|
|||
|
|
@ -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 },
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 = '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue