From 05651ca74c48e4cd4832af5c7a85a269b805743f Mon Sep 17 00:00:00 2001 From: Victor Barba Martin Date: Tue, 19 Oct 2021 15:06:04 +0200 Subject: [PATCH 1/3] add pipeline for ui deploy --- bitbucket-pipelines.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 bitbucket-pipelines.yml diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml new file mode 100644 index 000000000..4b80f9071 --- /dev/null +++ b/bitbucket-pipelines.yml @@ -0,0 +1,20 @@ +image: node:13.12.0 + +pipelines: + branches: + VRFS-5232-new_react_frontend: + - step: + name: Build Production + script: + - npm install + - npm run build + artifacts: + - build/** + - step: + name: Deploy to S3 + deployment: production + script: + - pipe: atlassian/aws-s3-deploy:1.1.0 + variables: + S3_BUCKET: "jamkazam-ui/prd" + LOCAL_PATH: "build" \ No newline at end of file From a9a42ae62a4386f35cd769752b749bd75834609c Mon Sep 17 00:00:00 2001 From: Victor Barba Martin Date: Tue, 19 Oct 2021 15:07:07 +0200 Subject: [PATCH 2/3] add pipeline for ui deploy --- bitbucket-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 4b80f9071..55e6aff1a 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -6,6 +6,7 @@ pipelines: - step: name: Build Production script: + - cd jam-ui - npm install - npm run build artifacts: From 0a85d4a1f5f57d80524aa854fac766dbe9ea438b Mon Sep 17 00:00:00 2001 From: Victor Barba Martin Date: Tue, 19 Oct 2021 18:15:39 +0200 Subject: [PATCH 3/3] add pipeline for ui deploy --- bitbucket-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 55e6aff1a..ec528b269 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -1,4 +1,4 @@ -image: node:13.12.0 +image: node:14.17.1 pipelines: branches: