Skip to content

Commit b1c2c0c

Browse files
committed
add command to invalidate cloudfront in the crate removal
1 parent 5ec63ed commit b1c2c0c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/crates-io/crate-removal.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@ it.
2424

2525
* Remove the crate archive(s) and readme file(s) from S3.
2626

27-
* Invalidate the CloudFront cache – remove both the relevant readme and crate
28-
files. If in doubt, invalidate `/*` to flush everything.
27+
* Invalidate the CloudFront cache:
28+
29+
```
30+
aws cloudfront create-invalidation --distribution-id EJED5RT0WA7HA --paths '/*'
31+
```
2932

3033
## Remove entire crates from docs.rs
3134

0 commit comments

Comments
 (0)