From 9829c8b45161472d43532dfb3746acb2a5f73bed Mon Sep 17 00:00:00 2001 From: Limao Chang <80520563+LimaoC@users.noreply.github.com> Date: Sat, 21 Sep 2024 17:29:50 +1000 Subject: [PATCH] fix: take scp outside of command string, add scripts directory to deploypaths.txt --- deploy.sh | 2 +- deploypaths.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index d2e8d33..6706efa 100755 --- a/deploy.sh +++ b/deploy.sh @@ -85,7 +85,7 @@ fi SSH_GO="$SSH_PREFIX ssh $SSHUSER@$SSHTARGET" echo -e "$INFO Copying Tarball" -if ! $SSH_PREFIX "scp -q $TARNAME $SSHUSER@$SSHTARGET:~/"; then +if ! $SSH_PREFIX scp -q $TARNAME "$SSHUSER@$SSHTARGET:~/"; then echo -e "$ERROR Copy unsuccessful" cleanup exit 1 diff --git a/deploypaths.txt b/deploypaths.txt index c4d0206..f43685e 100644 --- a/deploypaths.txt +++ b/deploypaths.txt @@ -2,5 +2,6 @@ # deploy.sh will preserve the source directory layout so imports between files # should still work if all files are copied in client/ +scripts/ pyproject.toml poetry.lock