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 b7a25a7 commit 97ff8b1Copy full SHA for 97ff8b1
scripts/update-docs.sh
@@ -17,13 +17,14 @@ 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" ] && [ -n "$DANGER_GITHUB_API_TOKEN" ]; then
+if [ "${TRAVIS_COMMIT_MESSAGE}" = Merge* ] && [ -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
24
git remote remove upstream
25
else
26
- echo "Skip gh-pages updates on ${TRAVIS_BRANCH}"
+ echo "Skip gh-pages updates on ${TRAVIS_BRANCH}:"
27
+ echo "\n ${TRAVIS_COMMIT_MESSAGE}\n"
28
fi
29
30
cd -
0 commit comments