Utility for updating static websites manually or by responding to GitHub webhook events.
Sheepstor is configured from one config file (see ./config/config_SAMPLE.yaml for annotated example).
The config file contains some references to ENV variables which must be set in the environment where Sheepstor is run.
Sheepstor currently support two possible content processors (set in the content_processor property in the config file):
- Hugo (invokes Hugo to compile the site)
- None (in which case it will just copy the sources verbatim)
Run any of the commands below with an additional flag --debug
./sheepstor server --config=<CONFIG_FILE_PATH> --port <PORT_NUMBER>./sheepstor update --config=<CONFIG_FILE_PATH> --sites=<ID_OF_SITE_FROM_CONFIG>./sheepstor update --config=<CONFIG_FILE_PATH> --sites=<ID_OF_SITE_FROM_CONFIG>,<ID_OF_ANOTHER_SITE_FROM_CONFIG>(also useful for InitContainer to set up web service if deployed in Kubernetes)
./sheepstor update --config=<CONFIG_FILE_PATH> --sites=all