bclibcoop / deployer-bedrock
Deployer recipe/tasks to deploy a Bedrock-based WordPress site
v2.0.0
2026-11-06 18:18 UTC
Requires
- php: >=8.3
Requires (Dev)
- deployer/deployer: ^8.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
A (fairly opinionated) Deployer recpie to deploy a Bedrock based WordPress site. Also now supports Drupal deployments, using Drush for post-deploy actions.
Inspired by capistrano-wpcli
Requires Deployer 8.x and PHP >= 8.3
Usage
Include the following in your deployer.php file
require_once dirname(DEPLOYER_DEPLOY_FILE) . '/vendor/autoload.php'; require_once 'recipe/bedrock.php';
Or for multisite installations
require_once dirname(DEPLOYER_DEPLOY_FILE) . '/vendor/autoload.php'; require_once 'recipe/bedrock-multisite.php';
Or now Drupal (the auto-load file should put this package's "recipe" folder ahead of Deployer's in the include_path, so you will get this one rather than the contrib recpie)
require_once dirname(DEPLOYER_DEPLOY_FILE) . '/vendor/autoload.php'; require_once 'recipe/drupal.php';
And then define your hosts and override any variables required
Future Functionality
- Fully handle multisite DB search/replace
- Theme asset building (local or remote)