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
stages:
- name: deploy
# require the branch name to be master (note for PRs this is the base branch name)
if: branch = master AND NOT type IN (pull_request)
if: branch = master AND tag IS present
before_install:
- pip install -U pip