We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3722ccb commit 8cb56bfCopy full SHA for 8cb56bf
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_COMMIT_MESSAGE}" = Merge* ] && [ -n "$DANGER_GITHUB_API_TOKEN" ]; then
+if [ "${TRAVIS_COMMIT_MESSAGE}" = Merge* ] && [ "${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