YAML examples for Google CDN
Purge Google CDN cache
yaml
- action: "Purge cache at hello-world / hello-world-cdn"
type: "GOOGLE_CDN_INVALIDATE"
input_type: "SCM_REPOSITORY"
remote_path: "/merged"
distribution_id: "hello-world"
url_map: "hello-world-cdn"
purge_all: true
purge_by_change_set_limit: 10
integration: "my_integration"
deployment_excludes:
- "/tmp"
- "*.log"
deployment_includes:
- "/tmp/assets"
- "/tmp/styles"
Purge cache by fixed paths
yaml
- action: "Purge Google CDN paths"
type: "GOOGLE_CDN_INVALIDATE"
integration: "my_integration"
distribution_id: "hello-world"
url_map: "hello-world-cdn"
purge_all: false
paths:
- "/index.html"
- "/assets/app.css"