Skip to content

Commit 7e958b8

Browse files
committed
Add script to deploy the app to github.io
angular-schule/angular-cli-ghpages#37
1 parent 981578e commit 7e958b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"build": {
3737
"builder": "@angular-devkit/build-angular:browser",
3838
"options": {
39-
"outputPath": "dist/ng-fun-prog",
39+
"outputPath": "dist",
4040
"index": "src/index.html",
4141
"main": "src/main.ts",
4242
"polyfills": "src/polyfills.ts",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"lint": "ng lint",
1010
"e2e": "ng e2e",
1111
"deploy":
12-
"ng build --prod --base-href \"/ng-fun-prog/\" && ngh --no-silent --dir dist/ng-fun-prog"
12+
"ng build --prod --base-href \"https://railsstudent.github.io/ng-fun-prog/\" && ngh --no-silent"
1313
},
1414
"private": true,
1515
"dependencies": {

0 commit comments

Comments
 (0)