From 73a41d458bf82afc5d50c15aeada5170920241a9 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath <2+defunkt@users.noreply.github.com> Date: Mon, 22 Sep 2025 15:06:11 -0700 Subject: [PATCH] fix sync --- app/scripts/deploy.sh | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/app/scripts/deploy.sh b/app/scripts/deploy.sh index 5b0ef90..52e7aab 100755 --- a/app/scripts/deploy.sh +++ b/app/scripts/deploy.sh @@ -21,19 +21,13 @@ rsync -az --delete \ --exclude '.git/' \ ../app/ "$HOST:$DEST/app/" -# additive sync for /bin and /www +# additive sync for root, /bin, /www rsync -az \ -e "ssh -o ControlPath=$SOCK" \ --exclude 'node_modules/' \ --exclude '.git/' \ - ../bin/ "$HOST:$DEST/bin/" - -rsync -az \ - -e "ssh -o ControlPath=$SOCK" \ - --exclude 'node_modules/' \ - --exclude '.git/' \ - ../www/ "$HOST:$DEST/www/" - + --exclude 'app/' \ + ../ "$HOST:$DEST/" # 3) remote deploy (reuses the connection) ssh -o ControlPath="$SOCK" "$HOST" "cd $DEST && bun install --frozen-lockfile && sudo systemctl restart nose-pluto.service"