deploy: exclude posterg.db, theses/, covers/ from rsync to avoid overwriting remote data

This commit is contained in:
Pontoporeia
2026-04-28 22:12:50 +02:00
parent 59c4cf055f
commit cd68e6e9d7
3 changed files with 9 additions and 4113 deletions

View File

@@ -26,6 +26,12 @@
- [x] Fix CSRF debug: log both tokens on mismatch
- [x] Fix undefined `$redirect` on success path in `formulaire.php`
## Deploy — Preserve Remote Data
- [x] Exclude `storage/posterg.db` from rsync (not sent locally, not deleted remotely)
- [x] Exclude `storage/theses/` from rsync (not sent locally, not deleted remotely)
- [x] Exclude `storage/covers/` from rsync (not sent locally, not deleted remotely)
## File Display in Forms & Recaps
- [x] Add live file preview to `file-field.php` partial (`data-preview` attribute + `.file-preview-list` container)

View File

@@ -39,6 +39,9 @@ deploy:
--exclude '.claude' \
--exclude '.pi' \
--exclude '.DS_Store' \
--exclude 'storage/posterg.db' \
--exclude 'storage/theses' \
--exclude 'storage/covers' \
--exclude 'storage/backup_*' \
--exclude 'storage/cache/*' \
--exclude 'storage/fixtures' \

File diff suppressed because one or more lines are too long