Plugin info

Total downloads: 943
Active installs: 10
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 9/19/2014 (4120 days ago)
Added to WordPress: 9/11/2014 (11 years old)
Minimum WordPress version: 3.0.1
Tested up to WordPress version: 4.0.37
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 4120 days ago

20/100

Is Post Deployment Hook abandoned?

Possibly abandoned (last update 4120 days ago).

Compatibility

Requires WordPress: 3.0.1
Tested up to: 4.0.37
Requires PHP: f

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Snippy
Rating 5.0/5 (5 reviews)Active installs 700
Build Trigger for Gatsby
Rating 0.0/5 (0 reviews)Active installs 80
Embed React Build
Rating 0.0/5 (0 reviews)Active installs 20
Jumppage
Rating 5.0/5 (2 reviews)Active installs 10
GoEmbed – Javascript Application Embedded
Rating 5.0/5 (1 reviews)Active installs 10
HashLibs
Rating 5.0/5 (1 reviews)Active installs 0

Description

If you have a build / deployment process for your site, it’s often useful to have a way to execute code in your theme or plugins after you commit or deploy your code changes.

GitHub, Bitbucket, and Beanstalk are common tools that allow you to configure a webhook URL that gets called as soon as you make a check-in or deployment.

Common uses are

  • Purge the cache after you deploy new theme code (WP Super Cache or W3 Total Cache)
  • After you build your JavaScript/CSS, trigger a backup of the live site
  • Trigger any WordPress hook
  • Run any other plugin or theme code you wish!

More information on how to use this plugin (including how to setup GitHub, Bitbucket, and Beanstalk) can be found at http://jaredcobb.com/post-deployment-hook

The plugin is also hosted on GitHub. Pull requests are welcome!

Installation

  1. Upload the plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Enter a passphrase in the Settings > Post Deployment Hook options to secure your webhook
  4. Use the generated URL (including it’s token) as your post-deployment / post-commit hook url

Frequently Asked Questions

Will this slow down my site?

Nope. While the plugin does execute on each page request, it simply checks if the request is a webhook call first. If not, it just exits.

Who would use this plugin?

Probably developers. But anyone with some knowledge of WordPress could use this plugin to run jobs in WordPress by hitting the URL this plugin provides.

Review feed

No reviews available

Screenshots

  1. The settings page will allow you to set a password and create a webhook url. You may also automatically purge the cache (WP Super Cache or W3 Total Cache).

    The settings page will allow you to set a password and create a webhook url. You may also automatically purge the cache (WP Super Cache or W3 Total Cache).

  2. You can define your own function (I recommend placing it into <code>functions.php</code>) and run any code you wish once the token url is hit.

    You can define your own function (I recommend placing it into functions.php) and run any code you wish once the token url is hit.

Changelog

1.0.1

  • Updated README.txt and added screenshots

1.0.0

  • Initial commit