Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Commit

Permalink
fix(travis): add deploy conditional preview on preview suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
igdianov committed Dec 18, 2020
1 parent 81c72de commit 28eed56
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 @@ -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
Expand Down

0 comments on commit 28eed56

Please sign in to comment.