From cd1bfeb37074b5e915ab47a69a21e78d3dfc35a6 Mon Sep 17 00:00:00 2001 From: Min RK Date: Thu, 13 Dec 2018 11:22:51 +0100 Subject: [PATCH] fix push-tags condition `on` conditions only fire when they are *all* met --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9ea3fe5d..23a4fc2a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,15 +33,15 @@ jobs: include: - stage: deploy script: skip - if: type = push + if: type = push AND (branch = master OR tag IS present) env: - REPO_TYPE= deploy: provider: script script: "./travis/travis-script.bash" on: - tags: true - branch: master + repo: jupyter/repo2docker + env: matrix: - REPO_TYPE=base