check if tag is present in stage conditional

This commit is contained in:
Dave Gallant
2019-10-18 00:07:28 -04:00
parent d082fe4393
commit 22d75f8332

View File

@@ -4,8 +4,7 @@ sudo: false
cache: false cache: false
stages: stages:
- name: deploy - name: deploy
# require the branch name to be master (note for PRs this is the base branch name) if: branch = master AND tag IS present
if: branch = master AND NOT type IN (pull_request)
before_install: before_install:
- pip install -U pip - pip install -U pip