Deploy EWC staging from release branch

This commit is contained in:
Daniel Sanchez 2020-10-28 17:04:28 +01:00
parent 551db136f3
commit 6c50f1adc6
1 changed files with 3 additions and 4 deletions

View File

@ -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