Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/statamic/spock
Automatically perform git commits, pushes, and other cli actions when Statamic content changes
https://github.com/statamic/spock
addon cli git spock statamic statamic-v2
Last synced: about 2 months ago
JSON representation
Automatically perform git commits, pushes, and other cli actions when Statamic content changes
- Host: GitHub
- URL: https://github.com/statamic/spock
- Owner: statamic
- Created: 2016-01-22T17:49:20.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-07-02T14:04:40.000Z (over 4 years ago)
- Last Synced: 2024-08-04T09:08:05.377Z (5 months ago)
- Topics: addon, cli, git, spock, statamic, statamic-v2
- Language: PHP
- Homepage:
- Size: 58.6 KB
- Stars: 95
- Watchers: 11
- Forks: 16
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spock for Statamic ![Statamic 2.10](https://img.shields.io/badge/statamic-2.10-blue.svg?style=flat-square)
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](https://statamic.com/marketplace/addons/spock/docs) or contribute to it [here on GitHub](DOCUMENTATION.md).
## Requirements
Statamic 2.10 is required. If you intend to run Spock on an earlier version of Statamic, please checkout Spock's [v1 branch](https://github.com/statamic/spock/tree/v1).
## Developing
You can use [Kessel Run](https://github.com/jesseleite/kessel-run) to copy files to your Statamic installation, and run `php please test:addons` to run Spock's tests.