Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 6ad4c8d

Browse files
committed
chore(travis): tighten up deploy conditions
1 parent 3ef612a commit 6ad4c8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ notifications:
5454
jobs:
5555
include:
5656
- stage: deploy
57-
# Don't deploy from PRs.
57+
# Don't deploy from PRs and only from our default branches.
5858
# This is a Travis-specific boolean language: https://docs.travis-ci.com/user/conditional-builds-stages-jobs#Specifying-conditions
5959
# The deployment logic for pushed branches is further defined in scripts\travis\build.sh
60-
if: type != pull_request
60+
if: type != pull_request and branch =~ ^(v1\.\d+\.x|master)$
6161
env:
6262
- JOB=deploy
6363
before_script: skip

0 commit comments

Comments
 (0)