add deploy to staging
This commit is contained in:
parent
5535a44393
commit
0f67c4f041
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue