From 28eed569594c54b3c94cc1ab251235de4e5ab727 Mon Sep 17 00:00:00 2001 From: Igor Dianov Date: Thu, 17 Dec 2020 20:57:42 -0800 Subject: [PATCH] fix(travis): add deploy conditional preview on preview suffix --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b8307c23d..48fe4e023 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,7 @@ stages: - name: docker - name: test - name: deploy_preview - if: type = pull_request + if: type = pull_request AND head_branch =~ ^.*preview$ - name: publish if: type != pull_request - name: promote