diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5fe68015..94a7b531 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -62,7 +62,7 @@ jobs: - name: Replace S3 bucket contents run: | aws s3 rm s3://${{ secrets.AWS_FRONTEND_S3_BUCKET }} --recursive - aws s3 cp frontend/build s3://${{ secrets.AWS_FRONTEND_S3_BUCKET }} --recursive + aws s3 cp frontend/dist s3://${{ secrets.AWS_FRONTEND_S3_BUCKET }} --recursive aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_CLOUDFRONT_DISTRIBUTION_ID }} --paths "/*" build-and-deploy-backend: