WP Manifestindependent plugin directory
manifest / updates / wordpress-builds

Sourcehut Builds poster SourceHut

Post to a GraphQL API when posts/pages are edited. Built for Sourcehut Builds.

by Ciarán Ainsworth · git.sr.ht/~sporiff/wordpress-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.gz

Readme

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.

Read the full README on SourceHut →