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

Commit

Permalink
Merge pull request #64 from LimaoC/fix-deploy-script
Browse files Browse the repository at this point in the history
fix: take scp outside of command string, add scripts directory to deploypaths.txt
  • Loading branch information
leadnaut authored Sep 30, 2024
2 parents 397ffa6 + 9829c8b commit 866e56f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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

0 comments on commit 866e56f

Please sign in to comment.