diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f14254f..968bc01 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,7 +56,10 @@ jobs: uses: chetan/invalidate-cloudfront-action@v2 env: DISTRIBUTION: ${{ secrets.AWS_CF_DISTRIBUTION }} - PATHS: "/acs-wiget/widget.js" + # TODO: Update only updated files w example: https://github.com/chetan/invalidate-cloudfront-action + PATHS: + - "/acs-wiget/widget.js" + - "/acs-wiget/index.html" AWS_REGION: ${{ secrets.AWS_S3_REGION }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}