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
|
- yarn coveralls
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
# Development environment
|
# Development environment only on rinkeby
|
||||||
- provider: s3
|
- provider: s3
|
||||||
bucket: $DEV_BUCKET_NAME
|
bucket: $DEV_BUCKET_NAME
|
||||||
access_key_id: $AWS_ACCESS_KEY_ID
|
access_key_id: $AWS_ACCESS_KEY_ID
|
||||||
|
@ -83,6 +83,7 @@ deploy:
|
||||||
region: $AWS_DEFAULT_REGION
|
region: $AWS_DEFAULT_REGION
|
||||||
on:
|
on:
|
||||||
branch: development
|
branch: development
|
||||||
|
condition: $REACT_APP_NETWORK = rinkeby
|
||||||
|
|
||||||
# Staging environment
|
# Staging environment
|
||||||
- provider: s3
|
- provider: s3
|
||||||
|
@ -96,19 +97,6 @@ deploy:
|
||||||
on:
|
on:
|
||||||
branch: master
|
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
|
# Prepare production deployment
|
||||||
- provider: s3
|
- provider: s3
|
||||||
bucket: $STAGING_BUCKET_NAME
|
bucket: $STAGING_BUCKET_NAME
|
||||||
|
|
Loading…
Reference in New Issue