Pass deploy hook query parameters to the build as environment variables
K
Koichiro Kitamura
I want to pass parameters when I make a POST request to the deploy hook.
Then, the processing is divided according to the values of the parameters that have been passed, such as netlify.
Log In

Anurag Goel
How would you use it exactly?
K
Koichiro Kitamura
Anurag Goel:
Configure an automatic deployment hook to Render.com when an article is updated on a Contentful CMS, for example.
At that time, I want to pass the article ID as a parameter to the trigger URL, and if there is a parameter, I want to get the information about the article associated with the ID from the Contentful CMS API, and generate the data as a Json file at build time.

Anurag Goel
Koichiro Kitamura: Got it. I updated the title to make it clearer. We'll plan on doing this.
K
Koichiro Kitamura
Anurag Goel:
Thanks!
That title is easier to understand!