diff --git a/.travis.yml b/.travis.yml index e291d78..93d808c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,6 @@ services: before_install: - docker build -t bcbc/workstand:production . after_success: - - if [ "$TRAVIS_BRANCH" == "master" ]; then - docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"; - docker push bcbc/workstand:production; \ No newline at end of file + - bash -c 'echo $TRAVIS_BRANCH' + - docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"; + - docker push bcbc/workstand:production; \ No newline at end of file