diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 97dcc0d..f8c7643 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,6 +41,6 @@ jobs: - name: Deploy to pages uses: crazy-max/ghaction-github-pages@v4.0.0 with: - build_dir: dist/ + build_dir: dist/ng-nasa-api env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/package.json b/package.json index f0a083a..1d8e3a1 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "ng": "ng", "start": "ng serve", "build": "ng build", + "build:prod": "ng build --configuration production --base-href /ng-nasa/", "watch": "ng build --watch --configuration development", "test": "ng test" },