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 "/*"