Skip to content
This repository was archived by the owner on Oct 1, 2018. It is now read-only.

Commit fd0d8e9

Browse files
committed
ci(travis): update deploy config
1 parent b6ccb86 commit fd0d8e9

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.travis.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ sudo: required
22

33
dist: trusty
44

5-
deploy:
6-
provider: azure_web_apps
7-
verbose: true
8-
skip_cleanup: true
9-
105
addons:
116
apt:
127
sources:
@@ -32,3 +27,13 @@ script:
3227
- ng test --single-run
3328
- ng build -prod
3429
- ng e2e
30+
31+
before_deploy:
32+
- rm -rf ./dist
33+
- ng build
34+
- rm -rf ./node_modules
35+
36+
deploy:
37+
provider: azure_web_apps
38+
verbose: true
39+
skip_cleanup: true

0 commit comments

Comments
 (0)