We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fa5a37 commit 8b69d91Copy full SHA for 8b69d91
.travis.yml
@@ -53,10 +53,10 @@ notifications:
53
jobs:
54
include:
55
- stage: deploy
56
- # Don't deploy from PRs and only from our default branches.
+ # Don't deploy from PRs. Only deploy from our default branches, or if commit is tagged.
57
# This is a Travis-specific boolean language: https://docs.travis-ci.com/user/conditional-builds-stages-jobs#Specifying-conditions
58
# The deployment logic for pushed branches is further defined in scripts\travis\build.sh
59
- if: type != pull_request and branch =~ ^(v1\.\d+\.x|master)$
+ if: type != pull_request and (branch =~ ^(v1\.\d+\.x|master)$ or tag IS present)
60
env:
61
- JOB=deploy
62
before_script: skip
0 commit comments