From d53b6130447b196deadb611bd1a9c934f4b82948 Mon Sep 17 00:00:00 2001 From: Xyon Date: Tue, 8 Oct 2024 00:08:44 +0100 Subject: [PATCH] Retaining badgey user for simplicity --- cicd/deploy.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cicd/deploy.sh b/cicd/deploy.sh index 6553460..3177e7c 100755 --- a/cicd/deploy.sh +++ b/cicd/deploy.sh @@ -2,8 +2,8 @@ bot=$(echo "$1" | tr '[:upper:]' '[:lower:]') -ssh $bot@$bot sudo /usr/bin/systemctl stop $bot -rsync -avP badgey $bot@$bot:/srv/$bot/ -rsync -avP config $bot@$bot:/srv/$bot/ -rsync -avP txt $bot@$bot:/srv/$bot/ -ssh $bot@$bot sudo /usr/bin/systemctl start $bot \ No newline at end of file +ssh badgey@$bot sudo /usr/bin/systemctl stop $bot +rsync -avP badgey badgey@$bot:/srv/$bot/ +rsync -avP config badgey@$bot:/srv/$bot/ +rsync -avP txt badgey@$bot:/srv/$bot/ +ssh badgey@$bot sudo /usr/bin/systemctl start $bot \ No newline at end of file