From c69d1f26c7ba4a975ea439621d8264146b9ae862 Mon Sep 17 00:00:00 2001 From: Drew Larson Date: Tue, 24 Jan 2017 19:59:33 -0600 Subject: [PATCH] One day I am going to get this right. --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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