Skip to content

Commit 17c96e1

Browse files
committed
General webhook setup
1 parent bbb7917 commit 17c96e1

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

features/integration-github-bitbucket-gitlab.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,20 @@ Private Packagist integrates with the following systems:
6868
* Webhooks:
6969
* Users need to [create a Service Hook](https://docs.microsoft.com/en-us/azure/devops/service-hooks/services/webhooks?view=azure-devops) using the generic hook URL from the package page
7070
* Select the "Code pushed" event (includes commits and tags) and the repository that matches the package. No authentication or additional configuration is necessary.
71+
72+
## General webhook setup
73+
74+
If automatic webhook configuration isn't available for your repository, you'll need to set up webhooks manually.
75+
76+
Find your unique webhook URL on the package details page. It will look like this:
77+
78+
`Hook URL: POST https://packagist.com/hooks/generic/1234567/a1b2c3d4e5f6g7h8i9a1b2c3d4e5f6g7h8i9`
79+
80+
Configure your webhook to trigger on the following repository events:
81+
- On each push
82+
- When a branch is created
83+
- When a branch is deleted
84+
- When a tag is created
85+
- When a tag is deleted
86+
87+
These events ensure your package metadata stays synchronized with your repository changes, enabling automatic updates when you publish new versions or modify your codebase.

0 commit comments

Comments
 (0)