I have an English and a French website running on 2 separate URLs, but using the same prismic repo.
If someone make a change to the french content a webhook is sent to Netlify to trigger a build.
the problem is there is nothing to tell me that the French language document has been updated while the English one hasn't. Therefore it triggers a build of both the English and French sits.
My proposal is prismic add in a lang tag to the webhook to tell the build URL which content language has been changed...
i.e.
{
"type": "api-update",
"masterRef": "Xs6a5hEAAArQI7NM",
"releases": {},
"masks": {},
"tags": {},
"langs: {
"fr-fr"
},
"experiments": {},
"domain": "bidlogix-multipage",
"apiUrl": "https://bidlogix-multipage.prismic.io/api",
"secret": null
}