Automatic Synchronization
When you connect a repository and create a repository-managed library, Fenergo can keep that library up to date automatically. Whenever code is pushed to your repository, your repository notifies Fenergo, and the library is refreshed.
How it works
- You set up a notification (a webhook) in your repository, using the details from the Webhook Info action on the Repositories page.
- When you push code, your repository sends that notification to Fenergo.
- Fenergo checks the change and, if the tracked file has been updated, creates a new published version of the library.
If a push doesn't change the tracked file, no new version is created.
Security
Automatic synchronization is protected by a webhook secret that is unique to each repository:
- The secret is generated for you and available from the Webhook Info action.
- You enter the same secret when setting up the webhook in your repository.
- Fenergo uses the secret to confirm each notification genuinely came from your repository. The secret is never shown in notifications and is stored securely.
For more detail on how notifications are kept secure, see Webhook Security.
Manual synchronization
You don't have to rely on automatic updates. You can synchronize a repository-managed library at any time using the Synchronize action in the library editor. As with automatic updates, a new version is only created when the tracked file has changed.
Setting it up
For step-by-step instructions on configuring the webhook in GitHub, see GitHub Setup & Troubleshooting.