Cloudflare Workers Webhooks Wordpress


I have a gatsby website which is fed by wordpress cms. I can deploy it using wrangler but i want it to be deployed automatically using webhooks. On a new post from wordpress should trigger the cloudflare application? I couldn’t find a resource about it.

Can you help me please?