From db98e8c6b7dbfcdeb1708fb1b9a22a6856b8954e Mon Sep 17 00:00:00 2001 From: Ben Wilson Date: Thu, 3 Aug 2023 17:48:04 -0400 Subject: [PATCH] gh pages --- .github/workflows/main.yml | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7fba63c..1580288 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,7 @@ jobs: run: npm ci --force - name: Build - run: npm run build + run: npm run build:github - name: Deploy if: success() diff --git a/package.json b/package.json index a003956..999e644 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "ng": "ng", "start": "ng serve --proxy-config proxy.config.local.json ", "build": "ng build --configuration=production && gzipper compress --gzip --brotli ./dist/public-pool-ui/", + "build:github": "ng build --configuration=production --base-href https://benjamin-wilson.github.io/public-pool-ui/ && gzipper compress --gzip --brotli ./dist/public-pool-ui/", "start:prod": "ng serve --proxy-config proxy.config.prod.json ", "watch": "ng build --watch --configuration development", "test": "ng test",