Skip to content

Commit 48ebca7

Browse files
committed
update scripts
1 parent 14b8d67 commit 48ebca7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/deploy-to-gh-pages.sh

+4-1
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)