Amend source filename in deploy rsync
Hal Deployment / build (push) Successful in 5m51s Details
Hal Deployment / deploy (push) Successful in 6s Details

This commit is contained in:
Lucy Bladen 2025-05-03 13:13:34 +01:00
parent fd179eb7ed
commit 43c26aa380
1 changed files with 1 additions and 1 deletions

View File

@ -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