From 0cdf8a88108dc05b2b3fdc4cb5082d9f8b64dd5e Mon Sep 17 00:00:00 2001 From: Condorra Date: Mon, 13 Feb 2023 21:25:00 +1100 Subject: [PATCH] Move in exe from same filesystem to trigger inotifywatch --- .ci/deploy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/deploy b/.ci/deploy index 96cdac7..9372ed7 100755 --- a/.ci/deploy +++ b/.ci/deploy @@ -19,5 +19,5 @@ scp -i deploy-key binary-archive-$BUILDSTAMP.tar.xz blast@$DEPLOY_HOST:/home/bla ssh -i deploy-key blast@$DEPLOY_HOST "find /home/blast/archive -mtime +30 -delete && mkdir -p /home/blast/latest && tar -xvJf /home/blast/archive/binary-archive-$BUILDSTAMP.tar.xz -C /home/blast/latest" # In the future, we should wrap this in a check it is needed... -ssh -i deploy-key blast@$DEPLOY_HOST "mv /home/blast/latest/blastmud_game /mnt/gameserver-app/exe" -ssh -i deploy-key blast@$DEPLOY_HOST "mv /home/blast/latest/blastmud_listener /mnt/listener-app/exe" +ssh -i deploy-key blast@$DEPLOY_HOST "cp /home/blast/latest/blastmud_game /mnt/gameserver-app/tmp && mv /mnt/gameserver-app/tmp/blastmud_game /mnt/gameserver-app/exe" +ssh -i deploy-key blast@$DEPLOY_HOST "cp /home/blast/latest/blastmud_listener /mnt/listener-app/tmp && mv /mnt/listener-app/tmp/blastmud_listener /mnt/listener-app/exe"