From 6c50f1adc6d2a313351d9b26b9b4c650096274a3 Mon Sep 17 00:00:00 2001 From: Daniel Sanchez Date: Wed, 28 Oct 2020 17:04:28 +0100 Subject: [PATCH] Deploy EWC staging from release branch --- .travis.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8aa5c157..b188e898 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ -if: (branch = development) OR (branch = master) OR (branch = release/2.14.0) OR (type = pull_request) OR (tag IS present) +if: (branch = development) OR (branch = master) OR (branch = release/v2.14.0) OR (type = pull_request) OR (tag IS present) sudo: required dist: bionic language: node_js @@ -27,12 +27,11 @@ matrix: - REACT_APP_NETWORK='volta' - REACT_APP_GOOGLE_ANALYTICS=${REACT_APP_GOOGLE_ANALYTICS_ID_VOLTA} - STAGING_BUCKET_NAME=${STAGING_VOLTA_BUCKET_NAME} - if: (branch = master AND NOT type = pull_request) OR tag IS present - env: - REACT_APP_NETWORK='energy_web_chain' - REACT_APP_GOOGLE_ANALYTICS=${REACT_APP_GOOGLE_ANALYTICS_ID_EWC} - STAGING_BUCKET_NAME=${STAGING_EWC_BUCKET_NAME} - if: ((branch = master OR branch = release/2.14.0) AND NOT type = pull_request) OR tag IS present + if: ((branch = master OR branch = release/v2.14.0) AND NOT type = pull_request) OR tag IS present cache: yarn: true @@ -93,7 +92,7 @@ deploy: upload_dir: current/app region: $AWS_DEFAULT_REGION on: - branch: release/2.14.0 + branch: release/v2.14.0 condition: $REACT_APP_NETWORK = energy_web_chain # Prepare production deployment