From 227ccd73197b1419d851ac09353a65dcff70e3ee Mon Sep 17 00:00:00 2001 From: Melissa Autumn Date: Tue, 30 Jul 2024 14:32:48 -0700 Subject: [PATCH] Fix production s3 deploy --- .github/workflows/deploy-production.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index 0de4ee049..c3db9c195 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -146,7 +146,7 @@ jobs: aws-region: ${{ vars.AWS_REGION }} - name: Deploy frontend to S3 - run: aws s3 sync ./frontend/frontend/dist "s3://${{ needs.deploy-prod-iac.outputs.bucket }}" + run: aws s3 sync ./dist "s3://${{ needs.deploy-prod-iac.outputs.bucket }}" - name: Invalidate Cloudfront cache run: aws cloudfront create-invalidation --distribution-id ${{ needs.deploy-prod-iac.outputs.cloudfront_id }} --paths "/*"