Skip to content

Commit

Permalink
Create invalidation for secondary CloudFront distribution after deplo…
Browse files Browse the repository at this point in the history
…yment (#53)
  • Loading branch information
Mrtenz authored Aug 24, 2023
1 parent fa422b9 commit de24915
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,4 @@ jobs:
run: |
aws s3 cp ./dist s3://${{ vars.AWS_BUCKET_NAME }}/latest --recursive --acl private
aws cloudfront create-invalidation --distribution-id ${{ vars.AWS_CF_DISTRIBUTION_ID }} --paths "/latest/*"
aws cloudfront create-invalidation --distribution-id ${{ vars.AWS_CF_SECONDARY_DISTRIBUTION_ID }} --paths "/latest/*"

0 comments on commit de24915

Please sign in to comment.