Skip to content
This repository was archived by the owner on Nov 23, 2021. It is now read-only.

Commit e730d4b

Browse files
committed
Added angular-cli-ghpages
1 parent de9d38d commit e730d4b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ before_install:
99
- sh -e /etc/init.d/xvfb start
1010
before_script:
1111
- npm install -g @angular/cli
12+
- npm install -g angular-cli-ghpages
1213
script:
1314
- npm run-script build4prod
1415
- npm run-script test4ci
16+
- ngh --repo=https://[email protected]/oasp/oasp4js-ng-project-seed.git --name="oasp4js-build" --email=GH_EMAIL
1517
after_success:
1618
- bash <(curl -s https://codecov.io/bash)

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"test": "ng test",
1010
"lint": "ng lint",
1111
"e2e": "ng e2e",
12-
"build4prod": "ng build --prod --aot",
12+
"build4prod": "ng build --prod --aot --base-href \"https://oasp.github.io/oasp4js-ng-project-seed/\"",
1313
"test4ci": "ng test --single-run --code-coverage --browsers=PhantomJS"
1414
},
1515
"private": true,

0 commit comments

Comments
 (0)