add pipeline for ui deploy

This commit is contained in:
Victor Barba Martin 2021-10-19 15:06:04 +02:00
parent 8350d8793a
commit 05651ca74c
1 changed files with 20 additions and 0 deletions

20
bitbucket-pipelines.yml Normal file
View File

@ -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"