Skip to content

Commit aefdfde

Browse files
authored
Merge pull request #27 from ThuyNT13/github-actions
add back cloudfront cache invalidation
2 parents ccdedfa + 9aba049 commit aefdfde

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/aws.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,9 @@ jobs:
3636
--exclude ".github/*" \
3737
--exclude "README.md" \
3838
--exclude "LICENSE"
39+
40+
- name: invalidate CloudFront cache
41+
run: |
42+
aws cloudfront create-invalidation \
43+
--distribution-id ${{ vars.CF_DISTRIBUTION_ID }} \
44+
--paths "/*"

0 commit comments

Comments
 (0)