chore: make update-server.sh safe for crontab (reboot) usage
This commit is contained in:
parent
8d2134b83d
commit
f4ae9f85aa
@ -7,6 +7,7 @@ YELLOW='\033[1;33m'
|
||||
NC='\033[0m'
|
||||
|
||||
echo -e "${YELLOW}Step 1: Pulling latest changes from GitHub (main)...${NC}"
|
||||
cd /root/My-Weekly-ToDo-List
|
||||
git checkout main
|
||||
git pull origin main
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user