deploy: Add ability to invalidate Google Cloud CDN

This commit is contained in:
Garret Kelly 2019-10-03 08:46:27 -04:00 committed by Bjørn Erik Pedersen
parent 298092d516
commit 674e81ae87
5 changed files with 57 additions and 6 deletions

View file

@ -70,7 +70,7 @@ documentation.
cc.cmd.Flags().Bool("confirm", false, "ask for confirmation before making changes to the target")
cc.cmd.Flags().Bool("dryRun", false, "dry run")
cc.cmd.Flags().Bool("force", false, "force upload of all files")
cc.cmd.Flags().Bool("invalidateCDN", true, "invalidate the CDN cache via the cloudFrontDistributionID listed in the deployment target")
cc.cmd.Flags().Bool("invalidateCDN", true, "invalidate the CDN cache listed in the deployment target")
cc.cmd.Flags().Int("maxDeletes", 256, "maximum # of files to delete, or -1 to disable")
return cc