From 4350b1d8bf6dbc8a9d31aaa753ff0e398b0658ec Mon Sep 17 00:00:00 2001 From: Vincenzo Meschi <119996421+VincenzoMeschi@users.noreply.github.com> Date: Tue, 26 Dec 2023 01:28:57 -0500 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e7e6f44..fac3160 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,6 +25,6 @@ jobs: - name : Build Application run: npm run build - name : Deploy to s3 - run: aws s3 sync ./build s3://${{ secrets.BUCKET_NAME }} + run: aws s3 sync ./build s3://${{ secrets.BUCKET_NAME }} --recursive - name : Create CloudFront Invalidation run : aws cloudfront create-invalidation --distribution-id ${{ secrets.DISTRIBUTION_ID }} --paths "/*"