Hey everyone, I have a headless WordPress setup I'm deploying to pages. I'm trying to figure out how

Hey everyone, I have a headless WordPress setup I'm deploying to pages. I'm trying to figure out how to add a hook to my account that is using
next-on-pages
and a
wrangler.toml
so that when I publish a new post, it makes a build with the new post. I know how ot make the hook with WP and such, but don't see a way to add it to my account. I also don't see a way to connect my github to account since I'm deploying with the deploy command.

Anyways, how can I connect my github so that when branched ar emerged into main, it deploys

how can I add a hook to my account so everytime I make a new published post, it builds?

Thanks in advance!
Was this page helpful?