Closed weotch closed 6 months ago
This increases the size of the url column so complex twig code can be stored in like:
{% if event.sender.site.handle == "prod" %} https://api.netlify.com/build_hooks/xxxxxx {% elseif event.sender.site.handle == "en_CA" %} https://api.netlify.com/build_hooks/yyyyyy {% elseif event.sender.site.handle == "fr_CA" %} https://api.netlify.com/build_hooks/zzzzzzz {% endif %}
I think it probably makes more sense to store that logic in a separate template file, and include it from the URL field using an {% include %} tag.
{% include %}
Description
This increases the size of the url column so complex twig code can be stored in like:
Related issues