Sync GitHub releases with EDD downloads that use the Software Licensing extension.
Install the plugin and edit your desired Download. In the Software GitHub Sync metabox that appears, enable the sync and save the download. It is recommended you also generate a secret.
To setup the webhook on GitHub:
- On your GitHub repository navigate to: Settings > Webhooks & services > Add webhook
- Enter the generated Payload URL (found in the Software GitHub Sync metabox)
- Enter the secret (if you have created one / found in the Software GitHub Sync metabox)
- Select Let me select individual events and untick "Push" and tick "Release"
- Add the webhook and check the ping is ok
When creating a release in GitHub attach your ZIP using the "Attach binaries" upload box. The EDD download will automatically be updated with this new file and the current version number will also be updated with the "Tag version" from the release.