diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 303a86f50..42629a3ea 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -4,9 +4,11 @@ pipelines: branches: develop: - step: - name: Build Production + name: Build Staging script: - cd jam-ui + - source .env.staging + - env - npm install - CI=false npm run build artifacts: @@ -19,6 +21,16 @@ pipelines: variables: S3_BUCKET: "jamkazam-ui/stg" LOCAL_PATH: "jam-ui/build" + - step: + name: Build Production + script: + - cd jam-ui + - source .env.production + - npm install + - CI=false npm run build + artifacts: + - jam-ui/build/** + - step: name: Deploy to production deployment: production