From 0f67c4f041217c133541b759694ff4ef110bddd3 Mon Sep 17 00:00:00 2001 From: Victor Barba Martin Date: Tue, 26 Oct 2021 17:10:47 +0200 Subject: [PATCH] add deploy to staging --- bitbucket-pipelines.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 42629a3ea..088731ef2 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -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: