A (fairly opinionated) Deployer recpie to deploy a Bedrock based WordPress site.
Inspired by capistrano-wpcli
Include the following in your deployer.php
file
require_once dirname(DEPLOYER_DEPLOY_FILE) . '/vendor/autoload.php';
require_once 'recipe/bedrock.php';
// Also support for multisite
// require_once 'recipe/bedrock-multisite.php';
And then define your hosts and override any variables required
- Fully handle multisite DB search/replace
- Theme asset building (local or remote)