What lives in shared/

What outlives a release

Written by

in

A release is replaced whole at the next deploy. What must outlive it lives once, in shared/, and is linked into each release:

wp-content/uploads — the images of these posts were uploaded once, by the first release that ran. If they still show after a few deploys, the link works.

.env — the database, the salts, WP_HOME and WP_SITEURL. Change them with sudo cipi app env <app>.

wp-config.php — written by Cipi, reads the .env. A wp-config.php committed in the repository is replaced by it at every deploy.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Cipi demo · release 2 · 22df9c8 · PHP 8.5.13 · rendered 16:30:19 UTC