Deploying Drupal: A New Book on Shipping Drupal Sites
On December 15, 2026, I'll be releasing my second book, "Deploying Drupal." When I co-authored the Drupal 10 Development Cookbook a few years ago, we covered a lot of ground on how to build a Drupal site. This time I wanted to spend a whole book on what happens once you have a change ready to ship. How does it get from your machine to production, and how do you know it worked?
Back in the Drupal 6 era, I spent the drive home from a client launch debugging an ecommerce site at red lights, with my laptop tethered to my phone. Orders were failing, and the client was taking the calls. Launches like that weren't rare then, and most of them traced back to having no process or guardrails between a change and production.
I vowed to never put myself in that position again.
These days I deploy several times a week, including Fridays. Most of what changed between then and now comes down to practices I've put in place across a hundred client projects over the last 15 years.
The book starts with DDEV on your machine. You'll lint, analyze, test, and build the project locally, then put those same checks in GitHub Actions so they run on every pull request. From there, I cover deploying to Acquia, Pantheon, Upsun, or a server you manage yourself. Once a release goes live, you'll use Playwright to check that the parts of the site your visitors rely on still work. You'll also put that pipeline to work on the maintenance between releases, including Drupal core and contributed module updates.
I wrote Deploying Drupal for developers who can build a Drupal site but have never been responsible for the pipeline that ships it. It's also for team leads who want everyone on a project to be able to answer three questions: How do we deploy this? What was the last code we deployed? Do the features we shipped last month still work?
The examples use Drupal 12, and the techniques apply to Drupal 10 and 11 as well. Here's the full chapter list:
- Deploying DDEV
- Where Drupal Runs
- Where Your Code Lives
- Creating the Project
- Managing Secrets with Key
- Linting, Analyzing, and Building
- Testing
- Branches, Commits, and Releases
- Setting Up GitHub
- Building in CI
- Testing in CI
- Deploying
- Releasing
- Smoke Testing Production
- Staying Up to Date
- Automating SSL Certificates
Deploying Drupal will be available as an eBook on Leanpub and in print on Lulu and Amazon. You can find more details at deployingdrupal.com.