Deploy EWC staging from release branch
This commit is contained in:
parent
551db136f3
commit
6c50f1adc6
|
@ -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
|
sudo: required
|
||||||
dist: bionic
|
dist: bionic
|
||||||
language: node_js
|
language: node_js
|
||||||
|
@ -27,12 +27,11 @@ matrix:
|
||||||
- REACT_APP_NETWORK='volta'
|
- REACT_APP_NETWORK='volta'
|
||||||
- REACT_APP_GOOGLE_ANALYTICS=${REACT_APP_GOOGLE_ANALYTICS_ID_VOLTA}
|
- REACT_APP_GOOGLE_ANALYTICS=${REACT_APP_GOOGLE_ANALYTICS_ID_VOLTA}
|
||||||
- STAGING_BUCKET_NAME=${STAGING_VOLTA_BUCKET_NAME}
|
- STAGING_BUCKET_NAME=${STAGING_VOLTA_BUCKET_NAME}
|
||||||
if: (branch = master AND NOT type = pull_request) OR tag IS present
|
|
||||||
- env:
|
- env:
|
||||||
- REACT_APP_NETWORK='energy_web_chain'
|
- REACT_APP_NETWORK='energy_web_chain'
|
||||||
- REACT_APP_GOOGLE_ANALYTICS=${REACT_APP_GOOGLE_ANALYTICS_ID_EWC}
|
- REACT_APP_GOOGLE_ANALYTICS=${REACT_APP_GOOGLE_ANALYTICS_ID_EWC}
|
||||||
- STAGING_BUCKET_NAME=${STAGING_EWC_BUCKET_NAME}
|
- 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:
|
cache:
|
||||||
yarn: true
|
yarn: true
|
||||||
|
@ -93,7 +92,7 @@ deploy:
|
||||||
upload_dir: current/app
|
upload_dir: current/app
|
||||||
region: $AWS_DEFAULT_REGION
|
region: $AWS_DEFAULT_REGION
|
||||||
on:
|
on:
|
||||||
branch: release/2.14.0
|
branch: release/v2.14.0
|
||||||
condition: $REACT_APP_NETWORK = energy_web_chain
|
condition: $REACT_APP_NETWORK = energy_web_chain
|
||||||
|
|
||||||
# Prepare production deployment
|
# Prepare production deployment
|
||||||
|
|
Loading…
Reference in New Issue