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

Commit 89e29d2

Browse files
committed
chore(deploy): update travis to generate changelog
1 parent 0e3dcd2 commit 89e29d2

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.travis.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ before_script:
2323
script: "gulp test"
2424

2525
after_success:
26-
- "gulp docs"
26+
- "gulp changelog"
2727

2828
deploy:
29-
29+
3030
- provider: "script"
3131
skip_cleanup: true
32-
script: "bash ./deploy-docs.sh"
32+
script: "bash ./deploy-docs.sh"
3333
on:
3434
tags: true
3535
- provider: npm
@@ -38,7 +38,10 @@ deploy:
3838
secure: AUjI1lAZofXXFN2/CH497TN1hqm+fAUXKJCBjxmd0xiSrNUgMZqjg96g5R6OU11+zFRwcuvIWKvBcjiozSbej5zaU2Eh6amrJN+cM4cfLf4ljAdnHPGs4divlFchbqX1ThNQsLfC/dZZCVBo4oOvTz8l2L3LLwOYZkngQ0DoiHE=
3939
on:
4040
tags: true
41-
41+
42+
after_success:
43+
- "deploy-docs"
44+
4245
sudo: false
4346

4447
git:

deploy-docs.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
set -e
2+
set -e
33

44
[[ $TRAVIS_SECURE_ENV_VARS == "true" ]] || { echo "No github key avaliable, aborting publishing"; exit 0; }
55

@@ -27,5 +27,5 @@ git config user.email "[email protected]"
2727
git commit -m "docs(*): new deploy (angular-ui/ui-select@${ID_REF})"
2828

2929

30-
git push origin --quiet
31-
#> /dev/null 2>&1
30+
git push origin --quiet
31+
#> /dev/null 2>&1

0 commit comments

Comments
 (0)