From 05651ca74c48e4cd4832af5c7a85a269b805743f Mon Sep 17 00:00:00 2001 From: Victor Barba Martin Date: Tue, 19 Oct 2021 15:06:04 +0200 Subject: [PATCH] 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