fix(demo-build): fix demo dosc deployments

This commit is contained in:
d.strigo 2024-09-24 17:52:29 +02:00
parent 9ce151f8e0
commit 73f63283a3
3 changed files with 2 additions and 2 deletions

View file

@ -15,3 +15,4 @@ if (environment.production) {
}
platformBrowserDynamic().bootstrapModule(AppModule);

View file

@ -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 },
);
}

View file

@ -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 = '';