From 6c1492693106e0cc5a673e4c242b640ece1455e6 Mon Sep 17 00:00:00 2001 From: Serhii Londar Date: Thu, 15 Nov 2018 13:20:01 +0200 Subject: [PATCH] Update deploy.sh --- .github/deploy.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/deploy.sh b/.github/deploy.sh index bcbf463..73711b1 100644 --- a/.github/deploy.sh +++ b/.github/deploy.sh @@ -3,10 +3,15 @@ set -e echo ${TRAVIS_EVENT_TYPE} +echo ${TRAVIS_BRANCH} if [[ ${TRAVIS_EVENT_TYPE} != 'push' ]] then - echo 'exit' + exit +fi + +if [[ ${TRAVIS_BRANCH} != 'master' ]] +then exit fi