Update deploy.sh

This commit is contained in:
Serhii Londar 2018-11-15 13:20:01 +02:00 committed by GitHub
parent e843072542
commit 6c14926931
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

7
.github/deploy.sh vendored
View file

@ -3,10 +3,15 @@
set -e set -e
echo ${TRAVIS_EVENT_TYPE} echo ${TRAVIS_EVENT_TYPE}
echo ${TRAVIS_BRANCH}
if [[ ${TRAVIS_EVENT_TYPE} != 'push' ]] if [[ ${TRAVIS_EVENT_TYPE} != 'push' ]]
then then
echo 'exit' exit
fi
if [[ ${TRAVIS_BRANCH} != 'master' ]]
then
exit exit
fi fi