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