autocommit

This commit is contained in:
ALIHAN DIKEL
2024-10-27 23:48:44 +03:00
parent 9020ea5cc0
commit cd87babbfd
2 changed files with 14 additions and 9 deletions

12
scripts/constant_pull.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
while true; do
echo -e "\033[94m[INFO]\033[0m Pulling latest changes from 'refactor/v2'..."
grc git pull origin refactor/v2 --no-rebase
echo -e "\033[94m[INFO]\033[0m Restarting 'tello-server' using supervisorctl..."
grc sudo supervisorctl restart tello-server
echo -e "\033[92m[SUCCESS]\033[0m Cycle complete. Waiting for the next iteration..."
sleep 5
done

View File

@@ -1,12 +1,5 @@
#!/bin/bash
while true; do
echo -e "\033[94m[INFO]\033[0m Pulling latest changes from 'refactor/v2'..."
grc git pull origin refactor/v2 --no-rebase
git pull origin refactor/v2 --no-rebase
echo -e "\033[94m[INFO]\033[0m Restarting 'tello-server' using supervisorctl..."
grc sudo supervisorctl restart tello-server
echo -e "\033[92m[SUCCESS]\033[0m Cycle complete. Waiting for the next iteration..."
sleep 5
done