Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

fix: take scp outside of command string, add scripts directory to deploypaths.txt #64

Merged
merged 1 commit into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions deploypaths.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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