ci: add build and deploy script with app base-href

This commit is contained in:
4gray committed 2019-10-06 18:00:23 +02:00
1 parent f78037b7e6
commit bcba53e537
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -16,4 +16,4 @@ jobs:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: dist/iptv-player
BUILD_SCRIPT: npm install && npm run-script build
BUILD_SCRIPT: npm install && npm run-script build-and-deploy
+1
View File
@@ -5,6 +5,7 @@
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"build-and-deploy": "ng build --prod --base-href '/my-iptv-player-pwa'",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"