hugo/deploy
José Moreira 56a343507c deploy: Do not call CDN service invalidation when executing a dry run deployment
Currently, if cache invalidation is enabled when running `hugo deploy --dryRun` with , the deployer does not take the dry run flag into consideration and triggers CloudFront/GoogleCloudCDN cache invalidation if any of those services are configured.

This change will instead print a feedback message if a dry run is in effect and quiet mode is not enabled.

Fixes #7884
2020-10-28 11:19:40 +01:00
..
cloudfront.go build: Allow optional "nodeploy" tag to exclude deploy command from bin 2020-10-23 09:03:41 +02:00
deploy.go deploy: Do not call CDN service invalidation when executing a dry run deployment 2020-10-28 11:19:40 +01:00
deploy_azure.go build: Allow optional "nodeploy" tag to exclude deploy command from bin 2020-10-23 09:03:41 +02:00
deploy_test.go build: Allow optional "nodeploy" tag to exclude deploy command from bin 2020-10-23 09:03:41 +02:00
deployConfig.go build: Allow optional "nodeploy" tag to exclude deploy command from bin 2020-10-23 09:03:41 +02:00
deployConfig_test.go build: Allow optional "nodeploy" tag to exclude deploy command from bin 2020-10-23 09:03:41 +02:00
google.go build: Allow optional "nodeploy" tag to exclude deploy command from bin 2020-10-23 09:03:41 +02:00