We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 296e65f commit 7cf7f1aCopy full SHA for 7cf7f1a
2 files changed
.travis.yml
@@ -15,6 +15,8 @@ script:
15
- bundle exec rake ci:build
16
- make -B carthage
17
- make -B docs
18
+after_script:
19
+ - sh scripts/update-docs.sh
20
notifications:
21
email: false
22
slack:
scripts/update-docs.sh
@@ -17,7 +17,7 @@ git --no-pager diff --stat
git add .
git commit -m "[CI] Update documentation at $(date +'%Y-%m-%d %H:%M:%S %z')"
-if [ "${TRAVIS_BRANCH}" = "master" ] && [ -n "$DANGER_GITHUB_API_TOKEN" ]; then
+if [ "${TRAVIS_BRANCH}" = "develop" ] && [ -n "$DANGER_GITHUB_API_TOKEN" ]; then
echo "Updating gh-pages..."
git remote add upstream "https://${DANGER_GITHUB_API_TOKEN}@github.com/polydice/ICInputAccessory.git"
23
git push --quiet upstream HEAD:gh-pages
0 commit comments