Skip to content

Commit 87ad915

Browse files
committed
2 parents 1393563 + 2596c97 commit 87ad915

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/deploy-to-gh-pages.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22

33
set -e # exit with nonzero exit code if anything fails
44

5-
if [[ $TRAVIS_BRANCH == "master" && $TRAVIS_PULL_REQUEST == "false" ]]; then
5+
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
69

710
echo "Starting to update gh-pages\n"
811

0 commit comments

Comments
 (0)