hispanic / staticwoman

A fork of Staticman that provides additional functionality.
https://staticman.net
MIT License
7 stars 2 forks source link

Configure the webhook secret per-repo instead of globally #8

Closed hispanic closed 3 years ago

hispanic commented 3 years ago

Configure the webhook secret on a per-repo basis instead of globally per Staticman install. This allows for one Staticman install to be shared by multiple git repositories. This change requires the webhook secret to be encrypted, as it could be housed in a publicly-accessible repository. This also required adding a property parameter to the webhook endpoint so we can retrieve the repo-resident site config.