fix push-tags condition

`on` conditions only fire when they are *all* met
pull/501/head
Min RK 2018-12-13 11:22:51 +01:00
rodzic 65a4633992
commit cd1bfeb370
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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