Coder Social home page Coder Social logo

mediakodteam / wp-plugin-deployeur Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 377 KB

This plugin will help you to deploy your WordPress contents to Netlify or Vercel hosting using Webhooks and will empowers WordPress with features that allow users to review and launch a deploy only when they are ready to.

PHP 76.79% JavaScript 2.92% TypeScript 20.06% SCSS 0.23%
php tailwindcss webpack wordpress wordpress-plugin headless-wordpress netlify-deployment vercel-deployment

wp-plugin-deployeur's Introduction

Deployeur, a plugin to use WordPress as a headless CMS!

๐Ÿ“– Description

This plugin is not only a simple way to deploy your WordPress website to Netlify or Vercel hosting using Webhooks. It also empowers WordPress with features that allow users to launch a deploy only when they are ready to.

Indeed, static site generation often come with benefits of better security, better speed and lower carbon footprint. So far we had only seen solutions that triggered a deploy each time a post was published or updated by a user. Triggering multiple builds in a row wasn't really consistent with the spirit of designing environmentally friendly websites.

That is why we started the Deployeur's adventure!

๐Ÿš€ Features

What is this plugin doing ?

For developers

  1. Link your WordPress installation to Vercel or Netlify
  2. Allow your editors to deploy their contents form the WordPress dashboard
  3. Display the average build time to your content editors to keep them nicely waiting
  4. Display the Netlify status Badge into the WordPress dashboard

For content editors

  1. Review the last changes made to your contents before deploying them to your public website
  2. Check the Netlify build status of your last deploy directly from your WordPress dashboard
  3. Consult the history of deployed made with the plugin into the WordPress dashboad

๐Ÿ“ฆ Installation

  1. Upload the plugin files to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Go to the Deployeur settings page.
  4. In the "Hosting settings" tab: select your hosting provider and set your webhook URL.
  5. If you select Netlify, fill the Netlify badge URL field with your Netlify's badges URL (found it inside Site Settings > Status badges).
  6. In the "Site settings" tab: fill the public URL field with your front-end domain name to add it to the WordPress's API.

๐Ÿ“ Changelog

  • See the changelog here

๐Ÿ›  Development

Requirements

Installation

  1. Clone the repository
git clone [email protected]:MediakodTeam/wp-plugin-deployeur.git # using SSH - preferred
  1. Install the dependencies
yarn install # or npm install
  1. Start the "watch" task
yarn dev # or npm run dev
  1. Build the plugin
yarn build # or npm run build

๐Ÿค Contribute

This plugin is at an early stage of its life. We have already ideas to improve it. The next one on our list will be to add a custom endpoint to manage WordPress images through ImageKit and tweak the WordPress APi to use it. It could also be considered to set user roles permissions to access the plugins settings, etc. If you find this plugin useful, we welcome all contributions, issues and feature requests! To see how to contributes and the code of conduct, see the contributing file.

wp-plugin-deployeur's People

Contributors

mediavinc avatar michamediakod avatar mklblangenois avatar thomhellmk avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

wp-performance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.