From e50f95c6f6516898516cfe12198d31839831d2ab Mon Sep 17 00:00:00 2001 From: Xyon Date: Sat, 12 Oct 2024 13:50:15 +0100 Subject: [PATCH] Revert "Retaining badgey user for simplicity" This reverts commit d53b6130447b196deadb611bd1a9c934f4b82948. --- cicd/deploy.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cicd/deploy.sh b/cicd/deploy.sh index 3177e7c..6553460 100755 --- a/cicd/deploy.sh +++ b/cicd/deploy.sh @@ -2,8 +2,8 @@ bot=$(echo "$1" | tr '[:upper:]' '[:lower:]') -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 +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