diff --git a/.github/deploy.sh b/.github/deploy.sh index 061a5c0..73711b1 100644 --- a/.github/deploy.sh +++ b/.github/deploy.sh @@ -2,7 +2,15 @@ set -e -if [[ $TRAVIS_BRANCH != 'master' ]] +echo ${TRAVIS_EVENT_TYPE} +echo ${TRAVIS_BRANCH} + +if [[ ${TRAVIS_EVENT_TYPE} != 'push' ]] +then + exit +fi + +if [[ ${TRAVIS_BRANCH} != 'master' ]] then exit fi