Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deployments.md to clarify the statement about zero-downtime deploys. #524

Open
wants to merge 2 commits into
base: docs
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions trellis/deployments.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,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**.

Each deploy, Trellis makes a new folder. The "deploy" is effected by symlinking, see below Hooks. This is also how rollbacks work. 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.
dougjq marked this conversation as resolved.
Show resolved Hide resolved
:::

## Rollbacks

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