escaping regex for deployment on master or releases/v* branches (#2180)
This commit is contained in:
parent
b107202773
commit
8b7a172974
1 changed files with 2 additions and 2 deletions
|
@ -54,11 +54,11 @@ jobs:
|
|||
- export PATH="/usr/local/opt/ccache/libexec:$PATH";
|
||||
- stage: deploy
|
||||
name: "live"
|
||||
if: branch=~/^(master|releases\/v*) AND !tag=~RC AND type=push
|
||||
if: branch=~/^(master|releases\/v*)$/ AND !tag=~RC AND type=push
|
||||
script:
|
||||
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then if [ -n "$DOCKER_PASSWORD" ]; then ci/deploy-docker.sh; fi; fi
|
||||
- name: "beta"
|
||||
if: branch=~/^(master|releases\/v*) AND type=push
|
||||
if: branch=~/^(master|releases\/v*)$/ AND type=push
|
||||
script:
|
||||
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then if [ -n "$DOCKER_PASSWORD" ]; then ci/deploy-docker.sh; fi; fi
|
||||
cache:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue