From b475b4abbe01b20f2c169f987b06c2106e0197f7 Mon Sep 17 00:00:00 2001 From: Peter Badida Date: Sat, 29 Jun 2019 19:52:18 +0200 Subject: [PATCH] [ADD] Make deployment automatic on new tag in 'master' --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3ac61bb..94924ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,4 +48,4 @@ stages: - name: style if: NOT (type = api) - name: deploy - if: (branch = master) AND (NOT (type IN (push, pull_request))) + if: (tag IS present) AND (tag =~ /^(\d+)\.(\d+)\.(\d+)(\.\d+)?$/)