Merge branch 'VRFS-5232-new_react_frontend' of bitbucket.org:jamkazam/jam-cloud into VRFS-5232-new_react_frontend

This commit is contained in:
Nuwan 2021-10-19 22:08:46 +05:30
commit 053bc5f78a
1 changed files with 21 additions and 0 deletions

21
bitbucket-pipelines.yml Normal file
View File

@ -0,0 +1,21 @@
image: node:14.17.1
pipelines:
branches:
VRFS-5232-new_react_frontend:
- step:
name: Build Production
script:
- cd jam-ui
- 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"