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".

You may use @ to mention someone.

Make data send to the deploy webhook URL available as deploy script variable

2 total votes
Anoesj Sadraee ephex
  • Dennis moved item to board Planned

    1 week ago
  • ephex moved item to project Site Level Requests

    2 weeks ago
  • ephex created the item

    2 weeks ago