I'm preparing to migrate several Pages projects to Workers, and need an equivalent to the Pages build webhooks, so that when I publish content in my CMS (Sanity), a build is triggered (Astro, mostly static but some dynamic routes).
permission, and none of the permissions in the API token setup match that. I tried adding all Workers-related permissions and I'm still getting an "invalid token" error message for any Workers Builds API endpoint.
Ideally Workers would have a built-in build trigger setup like Pages does, but since that doesn't seem to exist where can I create the correct token for this API?