Perform commands when content has been published.
Switch branches/tags
Nothing to show
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
addons/Spock Setup a default example event to pass tests. Dec 15, 2018 naming commits Oct 17, 2018 Statamic requirement. Jul 6, 2018

Spock for Statamic Statamic 2.10

Perform commands when content has been published or changed.

This addon essentially just listens for an event, and dispatches commands. Who better to listen and command than a Starship Commander with large ears?

Its primary use is to automatically commit and push changes in production, but it can do anything your command line can.


Read it on the Statamic Marketplace or contribute to it here on GitHub.


Statamic 2.10 is required. If you intend to run Spock on an earlier version of Statamic, please checkout Spock's v1 branch.


You can use Kessel Run to copy files to your Statamic installation, and run php please test:addons to run Spock's tests.