summaryrefslogtreecommitdiffstats
path: root/deploy/deployConfig.go
diff options
context:
space:
mode:
authorGarret Kelly <gdk@google.com>2019-10-03 08:46:27 -0400
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-10-03 16:53:45 +0200
commit674e81ae8700bdd00d3e5e47ff930d42d25bc68b (patch)
tree5e88e28df459e99dc77a4ab5845c8be12db38fa7 /deploy/deployConfig.go
parent298092d516f623cc20051f506d460fb7625cdc84 (diff)
deploy: Add ability to invalidate Google Cloud CDN
Diffstat (limited to 'deploy/deployConfig.go')
-rw-r--r--deploy/deployConfig.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/deploy/deployConfig.go b/deploy/deployConfig.go
index 0ea675b82..3bc51294d 100644
--- a/deploy/deployConfig.go
+++ b/deploy/deployConfig.go
@@ -37,6 +37,10 @@ type target struct {
URL string
CloudFrontDistributionID string
+
+ // GoogleCloudCDNOrigin specifies the Google Cloud project and CDN origin to
+ // invalidate when deploying this target. It is specified as <project>/<origin>.
+ GoogleCloudCDNOrigin string
}
// matcher represents configuration to be applied to files whose paths match