Overview
Sometimes you may have removed the CircleCI webhook in GitHub erroneously, for troubleshooting purposes, or when migrating. If you ever need to add the webhook again, there is a simple process that does not require doing it manually in GH.
Re-adding the Webhook
As long as you have not deleted the project in CircleCI, the solution is as simple as unfollowing and following the project again. Here's how you can do it:
- Unfollow the project from the CircleCI ‘Project settings’ page - click the ‘Unfollow’ button.
- Remove the webhook you created manually for the affected repo on GitHub (Settings > Webhooks and services).
- Re-add the project by following the project again on the CircleCI ‘Project settings’ page.
This will generate a new webhook with a new secret. Please make sure to securely store the new secret as it will not be shown again after the initial setup.
If you have deleted the project in CircleCI already, simply follow the "Set Up Project" flow.
Comments
Article is closed for comments.