netlify-purge-cloudflare-on-deploy
Advanced tools
Comparing version 1.0.0 to 1.0.2
{ | ||
"name": "netlify-purge-cloudflare-on-deploy", | ||
"version": "1.0.0", | ||
"version": "1.0.2", | ||
"description": "Automatically purge Cloudflare cache on Netlify deploy.", | ||
@@ -17,3 +17,4 @@ "main": "index.js", | ||
"cache", | ||
"purge" | ||
"purge", | ||
"netlify-plugin" | ||
], | ||
@@ -20,0 +21,0 @@ "author": "Chris Muktar <chris@wikijob.co.uk> (https://www.wikijob.co.uk)", |
@@ -10,1 +10,10 @@ # netlify-purge-cloudflare-on-deploy | ||
Strictly this plugin triggers the cache purge before deploy (but after build), as this is the only functionality Netlify provides. | ||
## netlify.toml template | ||
[[plugins]] | ||
package = "./plugins/netlify-purge-cloudflare-on-deploy" | ||
[plugins.inputs] | ||
cloudflareEmail = "cloudflare@email.com" | ||
cloudflareApiKey = "yourApiKey" | ||
zoneId = "yourZoneId" |
3616
5
19