From ce8184b56e1c9723553dd48c65f83a41369de79c Mon Sep 17 00:00:00 2001 From: Louis Hamelers Date: Tue, 1 Aug 2023 13:34:45 +0200 Subject: [PATCH] updates --- .github/workflows/build-and-deploy.yml | 4 ++-- .gitignore | 1 + angular.json | 2 +- package.json | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 3a3af6d..1ffce02 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -33,8 +33,8 @@ jobs: - name: Upload GitHub Pages artifact if: success() uses: actions/upload-pages-artifact@v2.0.0 - # with: - # name: deploy_dist + with: + name: dist/sudoku-app # path: dist # - name: Cache node modules diff --git a/.gitignore b/.gitignore index 69db5e0..689c627 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ /out-tsc # Only exists if Bazel was run /bazel-out +/dist # dependencies /node_modules diff --git a/angular.json b/angular.json index 50a53da..d32d18a 100644 --- a/angular.json +++ b/angular.json @@ -23,7 +23,7 @@ "build": { "builder": "@angular-devkit/build-angular:browser", "options": { - "outputPath": "docs", + "outputPath": "dist/sudoku-app", "index": "src/index.html", "main": "src/main.ts", "polyfills": "src/polyfills.ts", diff --git a/package.json b/package.json index 7a84c85..3cb67a7 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "build": "ng build --configuration production", "watch": "ng build --watch --configuration development", "test": "ng test", - "build:ci": "ng build --prod --sourceMap=false --base-href louishamelers/sudoku", + "build:ci": "ng build --configuration=production --base-href=louishamelers/sudoku", "test:ci": "ng test --watch=false --code-coverage --source-map true" }, "private": true,