From b4a94f596b2df164ace7fa7fc0aacdf0076ab6c4 Mon Sep 17 00:00:00 2001 From: Victor Barba Martin Date: Tue, 26 Oct 2021 09:58:39 +0200 Subject: [PATCH] add deploy to staging --- bitbucket-pipelines.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index df2f6401f..303a86f50 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -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