Skip to content

Commit

Permalink
fix(travis): add deploy conditional preview on preview branch prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
igdianov committed Dec 19, 2020
1 parent 00d474e commit b6e89c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
stages:
- name: test
- name: deploy_preview
if: type = pull_request
if: type = pull_request AND head_branch =~ ^.*preview$
- name: publish reports
- name: tag_deploy_updatebot
if: type != pull_request
Expand Down

0 comments on commit b6e89c4

Please sign in to comment.