Skip to content

Commit 37c0a11

Browse files
committed
Invalidate static.rust-lang.org on release
1 parent 573895a commit 37c0a11

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ci/sync-dist.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,3 +159,6 @@ def run_s3cmd(command):
159159
if command == "update-dev-release" and live_run:
160160
run_s3cmd("aws cloudfront create-invalidation --distribution-id " +
161161
"E30AO2GXMDY230 --paths /rustup/*".format(s3_bucket))
162+
if command == "update-prod-release" and live_run:
163+
run_s3cmd("aws cloudfront create-invalidation --distribution-id " +
164+
"E3NZU1LCBHH4A4 --paths /rustup/*".format(s3_bucket))

0 commit comments

Comments
 (0)