add deploy to staging
This commit is contained in:
parent
cf21f61985
commit
5535a44393
|
|
@ -4,9 +4,11 @@ pipelines:
|
|||
branches:
|
||||
develop:
|
||||
- step:
|
||||
name: Build Production
|
||||
name: Build Staging
|
||||
script:
|
||||
- cd jam-ui
|
||||
- source .env.staging
|
||||
- env
|
||||
- npm install
|
||||
- CI=false npm run build
|
||||
artifacts:
|
||||
|
|
@ -19,6 +21,16 @@ pipelines:
|
|||
variables:
|
||||
S3_BUCKET: "jamkazam-ui/stg"
|
||||
LOCAL_PATH: "jam-ui/build"
|
||||
- step:
|
||||
name: Build Production
|
||||
script:
|
||||
- cd jam-ui
|
||||
- source .env.production
|
||||
- npm install
|
||||
- CI=false npm run build
|
||||
artifacts:
|
||||
- jam-ui/build/**
|
||||
|
||||
- step:
|
||||
name: Deploy to production
|
||||
deployment: production
|
||||
|
|
|
|||
Loading…
Reference in New Issue