Skip to content

Commit

Permalink
chore(travis): tighten up deploy conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
Narretz committed Oct 26, 2017
1 parent 202f180 commit 9871ada
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ notifications:
jobs:
include:
- stage: deploy
# Don't deploy from PRs.
# Don't deploy from PRs and only from our default branches.
# This is a Travis-specific boolean language: https://docs.travis-ci.com/user/conditional-builds-stages-jobs#Specifying-conditions
# The deployment logic for pushed branches is further defined in scripts\travis\build.sh
if: type != pull_request
if: type != pull_request and branch =~ ^(v1\.\d+\.x|master)$
env:
- JOB=deploy
before_script: skip
Expand Down

0 comments on commit 9871ada

Please sign in to comment.