Fix development deployment to always use rinkeby network (#1573)
This commit is contained in:
parent
387ebe68fb
commit
296cf30384
16
.travis.yml
16
.travis.yml
|
@ -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
|
||||
|
@ -95,19 +96,6 @@ deploy:
|
|||
region: $AWS_DEFAULT_REGION
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue