From 43c26aa380753f07f31970a2e7a45197a1523a07 Mon Sep 17 00:00:00 2001 From: Lucy Bladen Date: Sat, 3 May 2025 13:13:34 +0100 Subject: [PATCH] Amend source filename in deploy rsync --- cicd/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cicd/deploy.sh b/cicd/deploy.sh index c1c8fe9..058243f 100644 --- a/cicd/deploy.sh +++ b/cicd/deploy.sh @@ -5,7 +5,7 @@ bot=$(echo "$1" | tr '[:upper:]' '[:lower:]') echo "Running deploy for bot ${bot}" ssh badgey@hal-9000 sudo /usr/bin/systemctl stop $bot -rsync -avP badgey badgey@hal-9000:/srv/$bot/$bot +rsync -avP $bot badgey@hal-9000:/srv/$bot/$bot rsync -avP config badgey@hal-9000:/srv/$bot/ rsync -avP txt badgey@hal-9000:/srv/$bot/ ssh badgey@hal-9000 chmod a+x /srv/$bot/$bot