From d8e4d7d7afa5609f6871cd8a7d162a37a10a84c2 Mon Sep 17 00:00:00 2001 From: Jo Date: Mon, 13 May 2024 09:01:52 -0400 Subject: [PATCH] dynamic frontend bucket --- .github/workflows/deploy-production.yml | 2 +- .github/workflows/deploy-staging.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index 270d9c254..23f0055a9 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -163,7 +163,7 @@ jobs: aws-region: ${{ vars.AWS_REGION }} - name: Deploy frontend to S3 - run: aws s3 sync frontend/dist "s3://${{ needs.deploy-iac.outputs.bucket }}" //s3://tb-apmt-prod-frontend + run: aws s3 sync frontend/dist "s3://${{ needs.deploy-iac.outputs.bucket }}" deploy-backend: needs: diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index 83044ff43..748b537ef 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -165,7 +165,7 @@ jobs: aws-region: ${{ vars.AWS_REGION }} - name: Deploy frontend to S3 - run: aws s3 sync frontend/dist "s3://${{ needs.deploy-iac.outputs.bucket }}" //s3://tb-apmt-stg-frontend + run: aws s3 sync frontend/dist "s3://${{ needs.deploy-iac.outputs.bucket }}"