Skip to content

Commit

Permalink
Fix production s3 deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
MelissaAutumn committed Jul 30, 2024
1 parent ba5a457 commit 227ccd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 "/*"
Expand Down

0 comments on commit 227ccd7

Please sign in to comment.