add deploy to staging

This commit is contained in:
Victor Barba Martin 2021-10-26 17:10:47 +02:00
parent 5535a44393
commit 0f67c4f041
1 changed files with 1 additions and 4 deletions

View File

@ -7,10 +7,8 @@ pipelines:
name: Build Staging
script:
- cd jam-ui
- source .env.staging
- env
- npm install
- CI=false npm run build
- CI=false REACT_APP_ORIGIN=staging.jamkazam.com REACT_APP_LEGACY_BASE_URL=https://staging.jamkazam.com REACT_APP_API_BASE_URL=https://staging.jamkazam.com/api npm run build
artifacts:
- jam-ui/build/**
- step:
@ -25,7 +23,6 @@ pipelines:
name: Build Production
script:
- cd jam-ui
- source .env.production
- npm install
- CI=false npm run build
artifacts: