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

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 3ef612a commit 6ad4c8d
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 @@ -54,10 +54,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 6ad4c8d

Please sign in to comment.