When viewing a site in the Ploi application and opening the "Repository" tab, there is a block with the title "Deploy webhook URL". The description says that the URL can be used to trigger deployments by doing a POST or OPTIONS request to the URL.
As far as I know, the data sent with the request is ignored, but it would be great to make this data available in the deploy script.
For example: When I send { "foo": "bar" } as body of the request, I would expect a variable like {WEBHOOK_VARIABLE_FOO}. Using this in the deploy script will replace the variable with "bar".
·