From 97f49cefc45f9a865f39c85ec7edba8c38863676 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Sun, 14 May 2017 10:03:56 +1000 Subject: [PATCH] Automatic deployment --- scripts/travis/after_success.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/travis/after_success.sh b/scripts/travis/after_success.sh index 8f794af477c..f21a6fc1772 100755 --- a/scripts/travis/after_success.sh +++ b/scripts/travis/after_success.sh @@ -6,6 +6,6 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then exit 0 fi -if [[ $TRAVIS_BRANCH == 'master' ]]; then - # npm run semantic-release +if [[ $TRAVIS_BRANCH == 'source' ]]; then + npm run deploy fi