autocommit
This commit is contained in:
12
scripts/constant_pull.sh
Normal file
12
scripts/constant_pull.sh
Normal 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
|
||||||
@@ -1,12 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
while true; do
|
echo -e "\033[94m[INFO]\033[0m Pulling latest changes from 'refactor/v2'..."
|
||||||
echo -e "\033[94m[INFO]\033[0m Pulling latest changes from 'refactor/v2'..."
|
git pull origin refactor/v2 --no-rebase
|
||||||
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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user