File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ script:
15
15
- bundle exec rake ci:build
16
16
- make -B carthage
17
17
- make -B docs
18
+ after_script :
19
+ - sh scripts/update-docs.sh
18
20
notifications :
19
21
email : false
20
22
slack :
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ git --no-pager diff --stat
17
17
git add .
18
18
git commit -m " [CI] Update documentation at $( date +' %Y-%m-%d %H:%M:%S %z' ) "
19
19
20
- if [ " ${TRAVIS_BRANCH} " = " master " ] && [ -n " $DANGER_GITHUB_API_TOKEN " ]; then
20
+ if [ " ${TRAVIS_BRANCH} " = " develop " ] && [ -n " $DANGER_GITHUB_API_TOKEN " ]; then
21
21
echo " Updating gh-pages..."
22
22
git remote add upstream " https://${DANGER_GITHUB_API_TOKEN} @github.com/polydice/ICInputAccessory.git"
23
23
git push --quiet upstream HEAD:gh-pages
You can’t perform that action at this time.
0 commit comments