We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14b8d67 commit 48ebca7Copy full SHA for 48ebca7
scripts/deploy-to-gh-pages.sh
@@ -2,7 +2,10 @@
2
3
set -e # exit with nonzero exit code if anything fails
4
5
-if [[ $TRAVIS_BRANCH == "master" && $TRAVIS_PULL_REQUEST == "false" ]]; then
+BUMP="bump "
6
+SITE="update site"
7
+
8
+if [[ $TRAVIS_BRANCH == "master" && $TRAVIS_PULL_REQUEST == "false" ]] && [[ $TRAVIS_COMMIT_MESSAGE == *$BUMP* || $TRAVIS_COMMIT_MESSAGE == $SITE ]]; then
9
10
echo "Starting to update gh-pages\n"
11
0 commit comments