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.

Leave a Reply