add bitbucket build vars to react env

This commit is contained in:
Nuwan 2021-10-27 16:47:07 +05:30
parent dc7469d400
commit 4f98bb7644
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ pipelines:
script:
- cd jam-ui
- npm install
- 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
- 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 REACT_APP_BITBUCKET_BUILD_NUMBER=$BITBUCKET_BUILD_NUMBER REACT_APP_BITBUCKET_COMMIT=$BITBUCKET_COMMIT npm run build
artifacts:
- jam-ui/build/**
- step: