From 1cac72c2c7fa1280b9a7a3cf0d328ba5d70bae2a Mon Sep 17 00:00:00 2001 From: "d.strigo" Date: Tue, 24 Sep 2024 16:36:28 +0200 Subject: [PATCH] fix(demo-build): fix demo dosc deployments --- docs/main.ts | 1 + scripts/docs/build-docs.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/main.ts b/docs/main.ts index e2b5bd9a..11f9f131 100644 --- a/docs/main.ts +++ b/docs/main.ts @@ -15,3 +15,4 @@ if (environment.production) { } platformBrowserDynamic().bootstrapModule(AppModule); + diff --git a/scripts/docs/build-docs.ts b/scripts/docs/build-docs.ts index c4285629..95a59397 100644 --- a/scripts/docs/build-docs.ts +++ b/scripts/docs/build-docs.ts @@ -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://${GH_TOKEN}@github.com/${REPO_OWNER}/${REPO_NAME}.git`, { cwd: distDir, showLog: true }, ); }