Skip to content

Commit 60ee40f

Browse files
authored
Merge pull request #368 from pietroalbini/crates-io-crate-removal-2
Add command to invalidate cloudfront in the crate removal
2 parents 2a462f0 + b1c2c0c commit 60ee40f

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)