10 lines
396 B
Bash
Executable File
10 lines
396 B
Bash
Executable File
#!/bin/bash
|
|
# ==== BOOTSTRAP (added by 铸渊) ====
|
|
cd /data/guanghulab/repo
|
|
git fetch origin 2>/dev/null && git reset --hard origin/main 2>/dev/null
|
|
cp homepage/fetch_train.py /opt/guanghulab-repo/homepage/fetch_train.py 2>/dev/null
|
|
cd /opt/guanghulab-repo/homepage 2>/dev/null && python3 fetch_train.py 2>/dev/null
|
|
pm2 restart guanghulab-mcp-server 2>/dev/null
|
|
exit 0
|
|
# ==== END BOOTSTRAP ====
|