add run.sh

This commit is contained in:
2026-03-08 01:27:27 +08:00
parent 110892b772
commit 84546eb8ab

16
run.sh Normal file
View File

@@ -0,0 +1,16 @@
sudo git fetch origin
sudo git reset --hard origin/main
cd output
sudo git fetch origin
sudo git reset --hard origin/main
cd ..
cd config
sudo git fetch origin
sudo git reset --hard origin/main
cd ..
sudo python3 -m pip install -r requirements.txt
sudo python3 main.py
cd output
sudo git add .
sudo git commit -m "$(date +'%Y-%m-%d %H:%M:%S')"
sudo git push origin main