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