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: include:
- stage: deploy - stage: deploy
script: skip script: skip
if: type = push if: type = push AND (branch = master OR tag IS present)
env: env:
- REPO_TYPE= - REPO_TYPE=
deploy: deploy:
provider: script provider: script
script: "./travis/travis-script.bash" script: "./travis/travis-script.bash"
on: on:
tags: true repo: jupyter/repo2docker
branch: master
env: env:
matrix: matrix:
- REPO_TYPE=base - REPO_TYPE=base