Disable release build

This commit is contained in:
Daniel Sanchez 2020-11-03 09:01:10 +01:00
parent c246223c82
commit 8d9b229c9e
1 changed files with 2 additions and 17 deletions

View File

@ -1,4 +1,4 @@
if: (branch = development) OR (branch = master) OR (branch = release/v2.14.0) OR (type = pull_request) OR (tag IS present)
if: (branch = development) OR (branch = master) OR (type = pull_request) OR (tag IS present)
sudo: required
dist: bionic
language: node_js
@ -41,8 +41,7 @@ matrix:
- REACT_APP_SENTRY_DSN=${SENTRY_DSN_EWC}
- SENTRY_PROJECT=${SENTRY_PROJECT_EWC}
- REACT_APP_GOOGLE_ANALYTICS=${REACT_APP_GOOGLE_ANALYTICS_ID_EWC}
if: ((branch = master OR branch = release/v2.14.0) AND NOT type = pull_request) OR tag IS present
if: (branch = master AND NOT type = pull_request) OR tag IS present
cache:
yarn: true
before_script:
@ -110,20 +109,6 @@ deploy:
branch: release/v2.14.0
condition: $REACT_APP_NETWORK = energy_web_chain
# Volta 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 = volta
# Prepare production deployment
- provider: s3
bucket: $STAGING_BUCKET_NAME