add deploy to staging

This commit is contained in:
Victor Barba Martin 2021-10-26 09:58:39 +02:00
parent 72092edf2b
commit b4a94f596b
1 changed files with 9 additions and 1 deletions

View File

@ -12,7 +12,15 @@ pipelines:
artifacts:
- jam-ui/build/**
- step:
name: Deploy to S3
name: Deploy to staging
deployment: staging
script:
- pipe: atlassian/aws-s3-deploy:1.1.0
variables:
S3_BUCKET: "jamkazam-ui/stg"
LOCAL_PATH: "jam-ui/build"
- step:
name: Deploy to production
deployment: production
script:
- pipe: atlassian/aws-s3-deploy:1.1.0