From fb25ac44a5db298599924fa05777408f3c0ce0d0 Mon Sep 17 00:00:00 2001 From: "d.strigo" Date: Tue, 24 Sep 2024 17:09:34 +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 95a59397..04475da3 100644 --- a/scripts/docs/build-docs.ts +++ b/scripts/docs/build-docs.ts @@ -5,7 +5,7 @@ import { generateGithubSpaScript } from './ghspa-template'; import { runCommand } from './run-command'; import { log } from './log'; -import { REPO_URL, OUT_DIR, REPO_OWNER, REPO_NAME } from './config'; +import { REPO_URL, OUT_DIR, REPO_OWNER, REPO_NAME, GH_TOKEN } from './config'; const WORK_DIR = join(process.cwd(), '../_DOCS_BUILD_WORK_DIR_'); const MASTER_BRANCH_DIR = join(WORK_DIR, 'MASTER'); const DOCS_VERSIONS_PATH = join(MASTER_BRANCH_DIR, 'docs/versions.json');