Skip to content

Commit

Permalink
Invalidate index.html on CloudFront also
Browse files Browse the repository at this point in the history
  • Loading branch information
martincik committed Oct 21, 2022
1 parent 27ad0e2 commit cf9f726
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit cf9f726

Please sign in to comment.