~sporiff/wordpress-builds

A Wordpress plugin for triggering Sourcehut Builds
Link to docs in README
Move setup to wiki index
Add documentation

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~sporiff/wordpress-builds
read/write
git@git.sr.ht:~sporiff/wordpress-builds

You can also use your local clone with git send-email.

#Wordpress builds

A simple Wordpress plugin for automating builds in response to article and page updates. This tool sends a mutation with a build manifest to the Sourcehut Builds GraphQL API.

Screenshot of the settings page

This plugin submits builds to Sourcehut Builds when a change is made to a page or post. It can be used to rebuild a site's frontend in response to changes.

This workflow is designed to mimic using Netlify/Vercel webhooks with Wordpress to trigger rebuilds to a site.

Note: You must install php-yaml on your server for this to work.

See the documentation for more information.