Skip to content

Commit 43c1e4d

Browse files
authored
build(docs): ensure docs are built on new release
Build of docs was broken when npm releases were automated. Fix travis so docs are built and deployed on a new tagged release.
1 parent 0c29b64 commit 43c1e4d

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.travis.yml

+13-13
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,19 @@ after_success:
2626
- "gulp docs"
2727

2828
deploy:
29-
skip_cleanup: true
30-
provider: "script"
31-
script: "bash ./deploy-docs.sh"
32-
on:
33-
all_branches: true
34-
# on:
35-
# tags: true
36-
provider: npm
37-
38-
api_key:
39-
secure: AUjI1lAZofXXFN2/CH497TN1hqm+fAUXKJCBjxmd0xiSrNUgMZqjg96g5R6OU11+zFRwcuvIWKvBcjiozSbej5zaU2Eh6amrJN+cM4cfLf4ljAdnHPGs4divlFchbqX1ThNQsLfC/dZZCVBo4oOvTz8l2L3LLwOYZkngQ0DoiHE=
40-
on:
41-
tags: true
29+
30+
- provider: "script"
31+
skip_cleanup: true
32+
script: "bash ./deploy-docs.sh"
33+
on:
34+
tags: true
35+
- provider: npm
36+
37+
api_key:
38+
secure: AUjI1lAZofXXFN2/CH497TN1hqm+fAUXKJCBjxmd0xiSrNUgMZqjg96g5R6OU11+zFRwcuvIWKvBcjiozSbej5zaU2Eh6amrJN+cM4cfLf4ljAdnHPGs4divlFchbqX1ThNQsLfC/dZZCVBo4oOvTz8l2L3LLwOYZkngQ0DoiHE=
39+
on:
40+
tags: true
41+
4242
sudo: false
4343

4444
git:

0 commit comments

Comments
 (0)