Skip to content

Commit

Permalink
Chore: CloudFront가 이전 캐시를 더 잘 처리하도록 workflow 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sngbmYu committed Aug 18, 2024
1 parent 4e91e12 commit 0844bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
run: aws s3 sync build s3://ustock-bucket/react/ --delete

- name: Invalidate CloudFront Cache
run: aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }} --paths "/react/*"
run: aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }} --paths "/react/static/js/*" "/react/static/css/*"

0 comments on commit 0844bd0

Please sign in to comment.