Articles in this section

How to get webhook URL for remote Git repository in a Plesk server

kb: how-to Plesk Obsidian ABT: Group B

Question

How to configure Webhooks to automatically deploy files from a remote Git repository (GitHub/Bitbucket) to Plesk?

Answer

The automatic deployment is configured using a Webhook URL, which is generated automatically for the repository in Plesk.

  1. Log in to Plesk.
  2. Go to Domains example.com Git and click Repository Settings:

    Click Repository Settings

  3. Copy the Webhook URL displayed in the settings window:

    Copy Webhook URL

  4. Specify this URL in the remote GitHub or Bitbucket repository settings (usually under "Webhooks") and configure it to be triggered by "Push" events.

Additional Information

Webhooks are used to configure the remote repository to notify Plesk about certain events (e.g., pushing files to the repository).

For details, refer to the documentation for managing webhooks in:

Plesk Documentation: Use Webhooks for Automatic Pull

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.