mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
fix: exclude entire var/ from rsync --delete to preserve logs
This commit is contained in:
3
justfile
3
justfile
@@ -58,8 +58,7 @@ deploy:
|
||||
--exclude 'storage/maintenance.flag' \
|
||||
--exclude 'storage/fixtures' \
|
||||
--exclude 'storage/docs' \
|
||||
--exclude 'var/cache/*' \
|
||||
--exclude 'var/logs/*' \
|
||||
--exclude 'var/' \
|
||||
app/ xamxam:/var/www/xamxam/
|
||||
ssh xamxam "mkdir -p /var/www/xamxam/var/{cache,logs,tmp}"
|
||||
ssh xamxam "cd /var/www/xamxam && php scripts/ensure-db.php /var/www/xamxam/storage/xamxam.db && php migrations/run.php /var/www/xamxam/storage/xamxam.db"
|
||||
|
||||
Reference in New Issue
Block a user