From 9445c41d8270a5abb74b06fa59b4326133008eb5 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Fri, 18 Oct 2019 00:16:16 -0400 Subject: [PATCH] check if tag is present in stage conditional (#48) * do not check if branch is master --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 391ff46..de33d9e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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