check if tag is present in stage conditional (#48)

* do not check if branch is master
This commit is contained in:
Dave Gallant
2019-10-18 00:16:16 -04:00
committed by GitHub
parent d082fe4393
commit 9445c41d82

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: repo = davegallant/rfd AND tag IS present
before_install:
- pip install -U pip