From 972387f6607e7b60e0c05be9430d593250df4d9e Mon Sep 17 00:00:00 2001 From: mtuszowski Date: Sun, 10 Nov 2024 15:09:46 +0100 Subject: [PATCH] Deploy script refactor --- deploy.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index 3793d1e..2eb3401 100755 --- a/deploy.sh +++ b/deploy.sh @@ -4,12 +4,16 @@ git pull cp ./deploy.sh /home/pi/ cd /home/pi || exit cp ./conjurer/bot.py ./Conjurer/ #legacy to be deprecated after refactor is done + + cp ./conjurer/settings.json ./Conjurer/ cp ./conjurer/system_gpt_settings.json ./Conjurer/ -cp ./conjurer/communication_subroutine.py ./Conjurer/ -cp ./conjurer/voice_recognition_commands.py ./Conjurer/ + + +cp ./conjurer/administration_commands.py ./Conjurer/ cp ./conjurer/ai_commands.py ./Conjurer/ cp ./conjurer/ai_functions.py ./Conjurer/ +cp ./conjurer/communication_subroutine.py ./Conjurer/ cp ./conjurer/constants.py ./Conjurer/ cp ./conjurer/librarian_commands.py ./Conjurer/ cp ./conjurer/music_commands.py ./Conjurer/ @@ -17,6 +21,7 @@ cp ./conjurer/music_functions.py ./Conjurer/ cp ./conjurer/other_commands.py ./Conjurer/ cp ./conjurer/other_functions.py ./Conjurer/ cp ./conjurer/radio_commands.py ./Conjurer/ +cp ./conjurer/voice_recognition_commands.py ./Conjurer/ cp ./conjurer/thin_client.py ./Conjurer/ sudo systemctl restart conjurer.service