Skip to content

Commit

Permalink
add build:ghpages
Browse files Browse the repository at this point in the history
  • Loading branch information
Babali42 committed Dec 16, 2024
1 parent e6fb3a1 commit f81f85e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-ghpage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

- name: Build Angular App
working-directory: ./frontend
run: npm run build --configuration=production
run: npm run build:ghpages

- name: Deploy to GitHub Pages
working-directory: ./frontend
Expand Down
1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"build:ghpages": "ng build --base-href=/",
"watch": "ng build --watch --configuration development",
"test": "ng test --no-watch --browsers=ChromeHeadless",
"deploy": "npx angular-cli-ghpages --dir=dist/drum-beat-repo"
Expand Down

0 comments on commit f81f85e

Please sign in to comment.