Merge pull request #340 from serhii-londar/serhii-londar-patch-4

Update deploy.sh
This commit is contained in:
Serhii Londar 2018-11-15 13:25:29 +02:00 committed by GitHub
commit b34bc820ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

10
.github/deploy.sh vendored
View file

@ -2,7 +2,15 @@
set -e 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 then
exit exit
fi fi