Release listener for GitHub

By Piu

0+ active installationsVersion 1.1

Listens to a GitHub webhook and creates a new post every time a release is made.

Description

A new post (or a custom post type is that option is selected) will be created every time a release is made on GitHub. You can display the release post with your other posts or use the shortcode to generate changelogs or links to the latest release.

FAQ

Installation Instructions

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

Setup:

  1. Open plugin settings (Settings > GitHub release listener)
  2. Go to your project settings on GitHub
  3. Select Webhooks > Add webhook
  4. Copy payload URL from the plugin settings to GitHub
  5. Select ‘application/json’ as content type
  6. Create a passcode (a random string) and copy it to ‘Secret’ field on both plugin settings and GitHub
  7. Choose ‘Let me select individual events’ as triggers
  8. Tick ‘Release’ and untick everything else
  9. Save your plugin settings
  10. Click ‘Add webhook’ on GitHub

Screenshots

Changelog

1.1

  • Changed the array syntaxt to support old PHP versions.