1.0.2 • Published 2 years ago

@danube-dev/strapi-plugin-cloudflare-deploy v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Strapi plugin Cloudflare Deploy

A Strapi v4 plugin for triggering cloudflare pages deploy.

Installation

npm install @danube-dev/strapi-plugin-cloudflare-deploy

Then rebuild your admin panel

strapi build

Done! You will be able to see Cloudflare deploy in plugins panel.

Configuration

in config/plugins.js

module.exports = ({ env }) => ({
// ...
  cloudflaredeploy: {
    enabled: true,
    config: {
      instances: [
        {
          name: "production website",
          hook_url: 'https://...'
        },
        {
          name: "development website",
          hook_url: 'https://...'
        },
        // ...
      ]
    },
  },
// ...
});