We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8714600 commit 0fde41dCopy full SHA for 0fde41d
2 files changed
.travis.yml
@@ -5,7 +5,7 @@ matrix:
5
- env: VERSION=9.3
6
- env: VERSION=latest
7
before_script:
8
- - bundle exec danger
+ - if [ -n "$DANGER_GITHUB_API_TOKEN" ]; then bundle exec danger; fi
9
script:
10
- bundle exec rake ci:build[$VERSION]
11
- make -B carthage
scripts/update-docs.sh
@@ -17,7 +17,7 @@ git --no-pager diff --stat
17
git add .
18
git commit -m "[CI] Update documentation at $(date +'%Y-%m-%d %H:%M:%S %z')"
19
20
-if [ "${TRAVIS_BRANCH}" = "develop" ]; then
+if [ "${TRAVIS_BRANCH}" = "master" ] && [ -n "$DANGER_GITHUB_API_TOKEN" ]; then
21
echo "Updating gh-pages..."
22
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