It is needed to use webhook to sync files with remote repository.
It is needed to automatically deploy files from Git to local Plesk repository.
How can it be configured?
It is configured using webhook URL. The webhook URL is generated automatically for the repository in Plesk:
2. Go to Domains > example.com > Git and click “
3. Specify this URL in the remote GitHub or Bitbucket repository settings and configure it to be triggered in case of a push to the repository:
Webhooks are used to configure remote repository to notify Plesk about certain events (e.g.: pushing files to the repository).