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.
2 parents 1393563 + 2596c97 commit 87ad915Copy full SHA for 87ad915
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