Skip to content

Commit

Permalink
Update deployments.md to clarify the statement about zero-downtime de…
Browse files Browse the repository at this point in the history
…ploys. (#524)

* Update deployments.md to clarify the statement about zero-downtime deployment. Support developers working with managers who may read the docs without realizing that database migrations are separate and may require downtime.

* Update trellis/deployments.md

Co-authored-by: Scott Walkinshaw <[email protected]>

* Update deployments.md

---------

Co-authored-by: Scott Walkinshaw <[email protected]>
Co-authored-by: Ben Word <[email protected]>
  • Loading branch information
3 people authored Feb 21, 2025
1 parent 6419ea9 commit 5923b48
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion trellis/deployments.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---
date_modified: 2024-06-04 16:30
date_modified: 2025-02-21 17:30
date_published: 2015-09-07 20:44
description: Trellis offers zero-downtime WordPress deployment out of the box with little configuration needed. Hooks let you customize what happens at each step of the atomic deploy process.
title: Deployments
authors:
- ben
- dalepgrant
- dougjq
- Log1x
- MWDelaney
- swalkinshaw
Expand Down Expand Up @@ -51,6 +52,12 @@ trellis deploy <environment>
It's normal and expected to see the WordPress install screen the first time you deploy. It's up to you to either import an existing database or install a fresh site.
:::

::: warning Note
**About zero-downtime deploys**.

Database migrations to a new schema are not included as part of a Trellis deploy. This means that if you need to migrate your database (for example, to account for new plugins), you may need to expect downtime depending on how you manage your database. Modify your deploy process to account for database migrations as with any other framework.
:::

## Rollbacks

Run the following from any directory within your project:
Expand Down

0 comments on commit 5923b48

Please sign in to comment.