Fix development deployment to always use rinkeby network (#1573)

This commit is contained in:
Daniel Sanchez 2020-11-06 08:36:26 +01:00 committed by GitHub
parent 387ebe68fb
commit 296cf30384
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 14 deletions

View File

@ -72,7 +72,7 @@ after_success:
- yarn coveralls
deploy:
# Development environment
# Development environment only on rinkeby
- provider: s3
bucket: $DEV_BUCKET_NAME
access_key_id: $AWS_ACCESS_KEY_ID
@ -83,6 +83,7 @@ deploy:
region: $AWS_DEFAULT_REGION
on:
branch: development
condition: $REACT_APP_NETWORK = rinkeby
# Staging environment
- provider: s3
@ -96,19 +97,6 @@ deploy:
on:
branch: master
# EWC testing on staging
- provider: s3
bucket: $STAGING_BUCKET_NAME
access_key_id: $AWS_ACCESS_KEY_ID
secret_access_key: $AWS_SECRET_ACCESS_KEY
skip_cleanup: true
local_dir: build
upload_dir: current/app
region: $AWS_DEFAULT_REGION
on:
branch: release/v2.14.0
condition: $REACT_APP_NETWORK = energy_web_chain
# Prepare production deployment
- provider: s3
bucket: $STAGING_BUCKET_NAME