Nests environments under one slpmodularcms folder instead of siblings

Applies to both the app's own release tree and the website upload
path - slpmodularcms/test and slpmodularcms/production side by side
under one parent, not two separately-named directories. Service unit
names stay hyphenated; those aren't folders.
This commit is contained in:
2026-07-28 21:43:37 +02:00
parent 25a3de0f1f
commit 843253888e
3 changed files with 28 additions and 17 deletions
@@ -16,9 +16,9 @@ failed deploy never leaves fewer than two releases on disk.
No rebuild needed. Over SSH, on the Pi:
```bash
cd ~/apps/slpmodularcms-<env>/releases
cd ~/apps/slpmodularcms/<env>/releases
ls -1t # confirm which directory is the previous, working release
ln -sfn ~/apps/slpmodularcms-<env>/releases/<previous-timestamp> ~/apps/slpmodularcms-<env>/current
ln -sfn ~/apps/slpmodularcms/<env>/releases/<previous-timestamp> ~/apps/slpmodularcms/<env>/current
systemctl --user restart slpmodularcms-<env>.service
curl -f https://<env-domain>/health # confirm the rollback itself is healthy
```