We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95f7395 commit 23dba68Copy full SHA for 23dba68
1 file changed
src/main.rs
@@ -258,6 +258,7 @@ impl Context {
258
259
self.invalidate_releases()?;
260
self.update_manifests_txt()?;
261
+ self.invalidate_manifests_txt()?;
262
263
// Clean up after ourselves to avoid leaving gigabytes of artifacts
264
// around.
@@ -604,6 +605,15 @@ impl Context {
604
605
Ok(())
606
}
607
608
+ fn invalidate_manifests_txt(&self) -> Result<(), Error> {
609
+ let paths = ["manifests.txt".into()];
610
+
611
+ self.invalidate_cloudfront(&self.config.cloudfront_static_id, &paths)?;
612
+ self.invalidate_fastly(&paths)?;
613
614
+ Ok(())
615
+ }
616
617
fn invalidate_cloudfront(&self, distribution_id: &str, paths: &[String]) -> Result<(), Error> {
618
if self.config.skip_cloudfront_invalidations {
619
println!();
0 commit comments