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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user