statamic / spock

Automatically perform git commits, pushes, and other cli actions when Statamic content changes
95 stars 16 forks source link
addon cli git spock statamic statamic-v2

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.

Documentation

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

Requirements

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

Developing

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