From 53818b0e364c5d325194f2f6f9bff9c63a744da3 Mon Sep 17 00:00:00 2001 From: Asher Date: Tue, 17 Sep 2019 15:12:47 -0500 Subject: [PATCH] Use conditional instead of inline if --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 20c9ddad4..ea68e3a5c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -67,10 +67,11 @@ deploy: - provider: script skip_cleanup: true - script: if [[ -n "$DOCKER_BUILD" ]] ; then docker push codercom/code-server:"$VERSION" && docker push codercom/code-server:v2 ; fi + script: docker push codercom/code-server:"$VERSION" ; docker push codercom/code-server:v2 on: repo: cdr/code-server branch: master + condition: -n "$DOCKER_BUILD" cache: yarn: true