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

Commit 9871ada

Browse files
committedOct 26, 2017
chore(travis): tighten up deploy conditions
1 parent 202f180 commit 9871ada

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎.travis.yml

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

0 commit comments

Comments
 (0)
This repository has been archived.