Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 839 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 839 Bytes

Pantheon Site Scripts

Sarah's toolkit for maintenance work on sites running on Pantheon.

Usage

Check the code comment at the top of each script for specific usage directions, but most of the bash scripts utilize an environment variable, $SITES, which is a list of Pantheon site names to run the script on.

export SITES=updog,hotdogcorp
./wp-core-updates

To run these in a container, you can use the Pantheon-Docker-Build-Tools-CI image.

To run these locally, you'll need Terminus, jq, and Shellcheck for testing.

Testing

Run ./test.sh to run Shellcheck over everything in the scripts/bash directory.