From 1f86909e37989efa3f4881ebfdcec63529fe6fa5 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath <2+defunkt@users.noreply.github.com> Date: Mon, 22 Sep 2025 15:07:26 -0700 Subject: [PATCH] finally --- app/scripts/deploy.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/scripts/deploy.sh b/app/scripts/deploy.sh index 52e7aab..f2f7f7a 100755 --- a/app/scripts/deploy.sh +++ b/app/scripts/deploy.sh @@ -14,6 +14,9 @@ ssh -MNf -o ControlMaster=yes -o ControlPersist=120 \ # 2) rsync (reuses the connection) +# ensure our directory exists +ssh -o ControlPath=$SOCK "$HOST" "mkdir -p $DEST/app" + # destructive sync for /app rsync -az --delete \ -e "ssh -o ControlPath=$SOCK" \