fix(demo-build): fix demo dosc deployments (#6036)

This commit is contained in:
Denis Strigo 2024-09-24 16:38:09 +02:00 committed by GitHub
parent f4729fa22f
commit 38fb964c2b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 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://${GH_TOKEN}@github.com/${REPO_OWNER}/${REPO_NAME}.git`,
{ cwd: distDir, showLog: true },
);
}