From cbca7ab31c581b42aad6be7d6a2dc066b88dace3 Mon Sep 17 00:00:00 2001 From: CryptoTitan Date: Thu, 25 Jan 2024 20:11:11 +0100 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b86a92c..f51fead 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,7 +38,7 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_REGION: ${{ secrets.AWS_REGION }} - PATH_TO_DELETE: "/*" + PATH_TO_DELETE: "/" - name: Deploying application to Amazon S3 uses: dvelasquez/deploy-s3-action@main @@ -48,7 +48,7 @@ jobs: AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }} AWS_BUCKET_NAME: ${{ secrets.AWS_BUCKET_NAME }} BUCKET_PATH: "/" - DIST_LOCATION_CODE: ./dist + DIST_LOCATION_CODE: ./build - name: Invalidate CloudFront uses: chetan/invalidate-cloudfront-action@v2