GitLab Webhooks and Push-to-Deploy

When you install a plugin or theme from GitLab, you can optionally enable Push-to-Deploy. When enabled and configured, a webhook on GitLab will trigger an update every time you push new code to your repository.

Once the plugin is installed, head over to the plugins/themes overview in WP Pusher ( in the sidebar: "WP Pusher" -> "Plugins/Theme") and fetch the Push-to-Deploy URL for your plugin or theme.

Log into GitLab, navigate to the "Integrations" tab of the repository settings and create a new webhook with the Push-to-Deploy URL.

By default, every push will trigger a plugin or theme update, but this can be fine tuned by editing the webhook and choose which event should trigger it.

If you want to learn more about Push-to-Deploy and automatic updates, take a look at this guide.

Need any help?

If you have any questions about WP Pusher, Git or WordPress, our email is hi@wppusher.com. Don't hesitate shooting us a message! You can also click the little ❤️ in the corner of this page.