Skip to content

Commit

Permalink
Add invalidation
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhirup committed Apr 16, 2024
1 parent e8c43ea commit 7254ef0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ jobs:
env:
AWS_BUCKET: ${{ secrets.AWS_BUCKET }}

# - name: Invalidate CloudFront Cache
# run: |
# aws cloudfront create-invalidation \
# --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }} \
# --paths "/*"
# env:
# CLOUDFRONT_DISTRIBUTION_ID: ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }}
- name: Invalidate CloudFront Cache
run: |
aws cloudfront create-invalidation \
--distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }} \
--paths "/*"
env:
CLOUDFRONT_DISTRIBUTION_ID: ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }}

0 comments on commit 7254ef0

Please sign in to comment.