Skip to content

Commit 5fb7afe

Browse files
author
Paul Gebheim
committed
Only deploy on push not pr
1 parent 6c60d96 commit 5fb7afe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ stages:
4747
- build
4848
- test
4949
- name: deploy
50-
if: branch = master or tag =~ ^v\d+\.\d+\.\d+(-\d+)?$
50+
if: type = push and (branch = master or tag =~ ^v\d+\.\d+\.\d+(-\d+)?$)
5151
git:
5252
depth: 5
5353
branches:

0 commit comments

Comments
 (0)