From 82fe83ff3d5f3a1ebb9d0311ca0b4296525c4cd7 Mon Sep 17 00:00:00 2001 From: Danil Titarenko <77471369+danilapog@users.noreply.github.com> Date: Mon, 8 Jul 2024 13:22:55 +0300 Subject: [PATCH] Fix invalidation paths --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d114c0fbd..9410c0ec9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -37,5 +37,5 @@ jobs: aws s3 sync . s3://api2static.teamlab.info --delete - name: Invalidate CLOUDFRONT cache - run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_DISTRIBUTION_ID }} + run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_DISTRIBUTION_ID }} --paths '/*'