fix: preserve server env files during local deploy

This commit is contained in:
Md Bayazid Bostame
2026-03-29 00:31:03 +01:00
parent 1864218d16
commit b7a2d84b45
3 changed files with 9 additions and 0 deletions

View File

@@ -25,6 +25,8 @@ git pull --ff-only origin develop
echo "Syncing repository to ${DEPLOY_HOST}:${DEPLOY_PATH} ..."
rsync -az --delete \
--filter 'P .env.test' \
--filter 'P .env.prod' \
--exclude '.git' \
--exclude '.github' \
--exclude '.venv' \