Socket
Socket
Sign inDemoInstall

netlify-purge-cloudflare-on-deploy

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.2

LICENSE.md

5

package.json
{
"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"
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc