---
title: "Deployment Strategies for Drupal Projects"
lang: en
type: knowledge
canonical: https://www.arocom.de/en/knowledge/development/deployment
alternate: https://www.arocom.de/wissen/entwicklung/deployment
author: "Axel Roth"
last_updated: 2026-07-29
---

# Deployment Strategies for Drupal Projects

Deployment describes the process of bringing code changes from the
development machine to the live server. In Drupal projects, this includes
code, configurations, database updates and cache management. Since 2012,
arocom has used automated deployment pipelines in over 160 Drupal projects.
Manual deployments via FTP are a thing of the past. Professional
deployment strategies with staging environments, automated tests and
rollback plans make releases plannable and low-risk.

## Deployment Strategies for Drupal Projects

A deployment is the moment of truth: code that works on the
development machine must work just as well on the live server.
In Drupal projects, this is more demanding than with static
websites because configurations, database schemas and caches
must also be synchronized alongside the code.

The best code quality is worthless if the deployment is a
manual, error-prone process.

## What a Drupal Deployment Involves

A complete Drupal deployment consists of several steps:

Code transfer: New code is brought to the server, via Git
pull, not FTP upload.

Composer install: Dependencies are resolved and installed.
Drupal core, contrib modules and libraries are assembled on
the server exactly as in development.

Database updates: drush updatedb executes schema migrations
required by new modules or updates.

Configuration import: drush config:import synchronizes
configuration between environments. Content types, views and
permissions are imported from code.

Cache rebuild: drush cache:rebuild clears all caches and
rebuilds them. Without this step, the site shows outdated
data or throws errors.

Each of these steps can fail. That's why every deployment
needs a rollback plan.

## Three Deployment Strategies Compared

Manual deployment: A developer executes the steps individually
on the server. Error-prone, not reproducible, dependent on a
single person. Not recommended for production environments.

Script-based deployment: A shell script executes all steps
automatically. Reproducible, but without automated tests and
without a staging step. Better than manual, but insufficient
for critical projects.

CI/CD pipeline: GitLab CI, GitHub Actions or Jenkins
automatically run tests on every merge and deploy to staging.
After manual approval, deployment to production follows. Fully
automated, reproducible and with rollback capability.

arocom sets up [CI/CD pipelines](https://www.arocom.de/en/services/development) for all client
projects. The setup effort takes a few days; the time savings and
risk reduction pay off in the long run.

### Your next step

What does your current deployment process look like? The [Drupal
Future Check](https://www.arocom.de/en/future-check) evaluates your deployment strategy
and identifies optimization potential.

**From arocom projects:**

- Drupal as a dashboard platform? For marego it was exactly the right choice: editable data structures, granular roles, integrated Excel/PDF pipelines. The tool now consolidates reporting that used to live in five different tools.
- For [d&b audiotechnik](https://www.arocom.de/en/references/db-audiotechnik) (Backnang) we built several configurators, process tools, and intranet solutions on/with Drupal, the architecture we put in place back in 2018 still holds today without refactoring and keeps up with every new major version.

- [Automate your deployment process safely?](https://www.arocom.de/en/contact)

### How often should we deploy?

As often as necessary, as frequently as possible. With a CI/CD pipeline, daily deployments are possible and safe. Small, frequent releases are less risky than large, infrequent ones. arocom deploys changes daily to weekly depending on the project.

### What happens when a deployment fails?

With a professional deployment strategy, you have a rollback plan: Git-based deployments can be reverted to the previous state. Database backups before the deployment secure the content. arocom performs deployments on the staging environment first.

### Do we need a staging environment?

For production Drupal projects: yes. The staging environment is a copy of the live environment where changes are tested before going live. This eliminates the most common source of error: differences between development and live environments.

### Can editors work during a deployment?

With zero-downtime deployments, yes. Drupal can be put into maintenance mode, but with rolling deployment strategies the site remains accessible during the update. arocom configures the process so that editors are not interrupted.

## Read more

- [DevOps for Drupal](https://www.arocom.de/en/knowledge/development/devops): CI/CD as the foundation for automated deployments
- [Git, GitHub, GitLab](https://www.arocom.de/en/knowledge/development/git): Version control as a prerequisite for clean deployments
- [Agile Fixed Price](https://www.arocom.de/en/knowledge/development/agile-fixed-price): How deployment cycles fit into project planning
