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.
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 thewebhook
endpoint so we can retrieve the repo-resident site config.