ephex

ephex

Live

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

Dennis

Dennis

· · Edited
·
2 total votes
Anoesj Sadraee SMIT.
SMIT.

SMIT.

·
·

I love this!

no votes yet
Anoesj Sadraee

Anoesj Sadraee

·
·

Amazing, thank you!

no votes yet
You may use @ to mention someone.

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

4 total votes
SMIT. Anoesj Sadraee Anoesj Sadraee ephex
  • Dennis moved item to board Live

    1 month ago
  • Dennis moved item to board Planned

    4 months ago
  • ephex moved item to project Site Level Requests

    4 months ago
  • ephex created the item

    4 months ago