Skip to content

Commit 9e3899b

Browse files
authored
Merge pull request #2403 from pietroalbini/invalidate-dev.rustup.rs
sync-dist: invalidate dev.rustup.rs during dev deploy
2 parents af4646f + 21095c4 commit 9e3899b

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
@@ -163,6 +163,9 @@ def run_s3cmd(command):
163163
if command == "update-dev-release" and live_run:
164164
run_s3cmd("aws cloudfront create-invalidation --distribution-id " +
165165
"E30AO2GXMDY230 --paths /rustup/*".format(s3_bucket))
166+
# Invalidate dev.rustup.rs
167+
run_s3cmd("aws cloudfront create-invalidation --distribution-id " +
168+
"E3OQOQ34607Z0A --paths /*")
166169
if command == "update-prod-release" and live_run:
167170
run_s3cmd("aws cloudfront create-invalidation --distribution-id " +
168171
"E3NZU1LCBHH4A4 --paths /rustup/*".format(s3_bucket))

0 commit comments

Comments
 (0)