fix(deploy): exclude venv/ from push-workers rsync

The prod venv at /opt/void-workers/venv was being deleted on every
push because rsync --delete saw no matching dir in the source (which
has .venv/, not venv/). Now both names are excluded.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
root
2026-06-01 11:04:21 +10:00
parent a8b2cddcf5
commit 6cba2e82da

View File

@@ -9,6 +9,7 @@ REMOTE_DIR=${REMOTE_DIR:-/opt/void-workers}
rsync -avz --delete \
--exclude .venv \
--exclude venv \
--exclude __pycache__ \
--exclude '*.egg-info' \
--exclude tests \