mirror of
https://github.com/davegallant/rfd.git
synced 2025-08-07 00:58:14 +00:00
check if tag is present in stage conditional (#48)
* do not check if branch is master
This commit is contained in:
@@ -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: repo = davegallant/rfd 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
|
||||||
|
Reference in New Issue
Block a user