Skip to content

Commit 87b8394

Browse files
committed
Add general webhook setup info to setup pages
1 parent 44eae29 commit 87b8394

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

docs/setup.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,3 +257,24 @@ Once all the repository entries have been added to Private Packagist the setup i
257257
}
258258
}
259259
```
260+
261+
## General webhook setup
262+
263+
Webhooks are automatically configured for packages from GitHub, GitLab, and Bitbucket when added through synchronization.
264+
265+
See integration specific information on webhooks here: [Integrations](http://packagist.com.lo/features/integration-github-bitbucket-gitlab)
266+
267+
For other code-hosting platforms or custom setups, you can also configure the webhook manually.
268+
269+
Find your unique webhook URL on the package details page:
270+
271+
![Webhook Setup](/Resources/public/img/docs/integration-setup/webhook-setup.png)
272+
273+
Configure your webhook to trigger on the following repository events:
274+
- On each push
275+
- When a branch is created
276+
- When a branch is deleted
277+
- When a tag is created
278+
- When a tag is deleted
279+
280+
These events ensure your package metadata stays synchronized with your repository changes, enabling automatic updates when you publish new versions or modify your codebase.

features/integration-github-bitbucket-gitlab.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Private Packagist integrates with the following systems:
7373
* Code Credentials: Grant us access via SSH key
7474
* Webhooks:
7575
* Users need to [create a Modular Webhooks Integration](https://support.beanstalkapp.com/article/56-modular-webhooks-integration) using the generic hook URL from the package page
76-
* Following events need to be selected: push, create_branch, delete_branch, create_tag, delete_tag
76+
* Following events need to be selected: `push`, `create_branch`, `delete_branch`, `create_tag`, `delete_tag`
7777

7878

7979

0 commit comments

Comments
 (0)