Post Deployment Hook

WHAT DOES POST DEPLOYMENT HOOK DO?

Post Deployment Hook is a lightweight and secure WordPress plugin that creates a webhook on your site.

Many services (like GitHubBitbucket, and Beanstalk) offer a feature called a commit webhook or a deployment webhook. After you push your code (or have their service deploy your code) they’ll optionally call a URL for you.

This plugin provides that URL on your WordPress site. It will listen for anything that tries to reach that URL and then execute any code you wish. (For example, if you just checked in some new CSS, you might want to automatically purge WP Super Cache so your visitors see the new styles).

 

Post Deployment Hook

 

* The “hook” functionality is also built directly into Git. If you have your own custom workflow you could certainly use this plugin as a post commit hook listener for your own CI workflow too.

GITHUB

If you use GitHub you can follow their Developer documentation to find everything you need to setup a webhook.

GitHub Webhook

 

BITBUCKET

Check out the documentation for Bitbucket’s webhook configuration.

Bitbucket Webhook

 

Beanstalk

You can read the help article on setting up a post deployment hook from Beanstalk.

beanstalk-webhook

 

Get It

You can download it from the Plugin Directory. I also have it hosted out on GitHub.

 

Credits

Zurb Foundation

The most advanced responsive front-end framework in the world.
http://foundation.zurb.com/

Underscores

A starter theme for WordPress
http://underscores.me/

VileR’s Oldschool PC Font Resouce

Home of the world’s biggest collection of classic text mode fonts, system fonts and BIOS fonts from DOS-era IBM PCs and compatibles
http://int10h.org/

Sierra Entertainment

The best game publisher. Ever.