mirror of
https://github.com/Sea-Haven-Industries/seahaven-site.git
synced 2026-09-30 03:13:10 +00:00
Update main.yml
Added CloudFront invalidation step
This commit is contained in:
parent
a1ccfe0293
commit
27d746a9ae
1 changed files with 7 additions and 0 deletions
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
|
|
@ -30,3 +30,10 @@ jobs:
|
|||
--exclude ".git/*" \
|
||||
--exclude ".github/*" \
|
||||
--exclude "*.md"
|
||||
|
||||
|
||||
- name: Invalidate CloudFront cache
|
||||
run: |
|
||||
aws cloudfront create-invalidation \
|
||||
--distribution-id EYK41AG0PO6XU \
|
||||
--paths "/*"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue