Skip to content

Commit c1daa93

Browse files
author
Paul Gebheim
committed
Try again to exlude from deploy
1 parent 5fb7afe commit c1daa93

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,12 @@ jobs:
4343
docker pull $IMAGE_BUILD;
4444
docker tag $IMAGE_BUILD $IMAGE_LATEST;
4545
ARTIFACTS=true npm run docker:run:deploy && docker push $IMAGE_LATEST
46+
if: type = push
4647
stages:
4748
- build
4849
- test
4950
- name: deploy
50-
if: type = push and (branch = master or tag =~ ^v\d+\.\d+\.\d+(-\d+)?$)
51+
if: (branch = master or tag =~ ^v\d+\.\d+\.\d+(-\d+)?$) and type = push
5152
git:
5253
depth: 5
5354
branches:

0 commit comments

Comments
 (0)