update scripts

pull/359/head
tangjinzhou 6 years ago
parent 14b8d672c2
commit 48ebca7e6f

@ -2,7 +2,10 @@
set -e # exit with nonzero exit code if anything fails
if [[ $TRAVIS_BRANCH == "master" && $TRAVIS_PULL_REQUEST == "false" ]]; then
BUMP="bump "
SITE="update site"
if [[ $TRAVIS_BRANCH == "master" && $TRAVIS_PULL_REQUEST == "false" ]] && [[ $TRAVIS_COMMIT_MESSAGE == *$BUMP* || $TRAVIS_COMMIT_MESSAGE == $SITE ]]; then
echo "Starting to update gh-pages\n"

Loading…
Cancel
Save