add pipeline for ui deploy
This commit is contained in:
parent
8350d8793a
commit
05651ca74c
|
|
@ -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"
|
||||
Loading…
Reference in New Issue