Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I'm exploring the possibility of having a headless Wordpress installation running on a certain domain and whenever something is created or changed in the database it would send a webhook to Github Pages that then would build a static site based on the WP content, with Nuxt.js.

There is this Wordpress plugin called wp-headless-trigger that lets you enter a webhook URL that will be triggered whenever you create or update a post, page or custom post type. It surely works great with Netlify, Vercel and similar, but is it possible to trigger Github Pages? In that case it would require some kind of URL that triggers a Github Action, if I've understood it correctly.

Is this approach even possible with Github Pages or is there any other way to automatically trigger a build on Github Pages from Wordpress when updated?

question from:https://stackoverflow.com/questions/65833234/trigger-build-of-github-pages-site-from-headless-wordpress

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
960 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...