From abded460c4b4090746bf566b3c8a447156e21dd1 Mon Sep 17 00:00:00 2001 From: Davide Carpini Date: Fri, 24 Nov 2023 11:43:00 +0100 Subject: [PATCH] add base path to angular public app and remove the broken svelte one (#94) * feat: deploy svelte and angular apps * feat: deploy svelte and angular apps * fix: angular build * fix: angular deploy * fix: remove svelte app from public repo --- .github/workflows/deploy-gh-pages.yaml | 1 - apps/sample-angular-app/package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/deploy-gh-pages.yaml b/.github/workflows/deploy-gh-pages.yaml index d0dc3c8d..855e2299 100644 --- a/.github/workflows/deploy-gh-pages.yaml +++ b/.github/workflows/deploy-gh-pages.yaml @@ -51,7 +51,6 @@ jobs: cp -r apps/sample-vue-app/dist build/vue cp -r apps/sample-react-app/build build/react cp -r apps/sample-vanilla-app/dist build/vanilla - cp -r apps/sample-svelte-app/dist build/svelte cp -r apps/sample-angular-app/dist/easy-angular build/angular - name: Upload artifact diff --git a/apps/sample-angular-app/package.json b/apps/sample-angular-app/package.json index 6e379c9b..a1ca5e21 100644 --- a/apps/sample-angular-app/package.json +++ b/apps/sample-angular-app/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "add-page": "ng g m pages/page-name --routing && ng g component pages/page-name --skip-tests", - "build": "ng build --configuration development", + "build": "ng build --configuration development --base-href /angular/", "dev": "ng serve", "lint": "eslint src --ext .js,.jsx,.ts,.tsx", "watch": "ng build --watch --configuration development"