Sourcehut Builds poster SourceHut
Post to a GraphQL API when posts/pages are edited. Built for Sourcehut Builds.
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://git.sr.ht/~sporiff/wordpress-builds/archive/main.tar.gzReadme
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.

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-yamlon your server for this to work.