bclibcoop / deployer-bedrock
Deployer recipe/tasks to deploy a Bedrock-based WordPress site
v1.2.4
2025-05-13 20:33 UTC
Requires
- php: >=7.4
Requires (Dev)
- deployer/deployer: ^7.1
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
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)