Files
agent-bounty-protocol/fix_tsenyang.sh
OG T ead38a37f9
Some checks failed
Deploy to 110 WOOO Server / deploy (push) Failing after 7s
feat: Phase 4 A2A Autonomous Lead Generation and P2P DHT Discovery
2026-06-08 20:34:56 +08:00

41 lines
917 B
Bash
Executable File

#!/usr/bin/expect -f
set timeout -1
set jump_host "wooo@192.168.0.110"
set target_host "ollama@192.168.0.188"
spawn ssh -J $jump_host $target_host "cd /home/ollama/vibework-git && git reset --hard HEAD && git pull origin main"
expect {
"*assword:*" {
send "0936223270\r"
exp_continue
}
eof
}
spawn ssh -J $jump_host $target_host "echo 0936223270 | sudo -S docker compose -f /home/ollama/vibework-git/docker-compose.yml stop web"
expect {
"*assword:*" {
send "0936223270\r"
exp_continue
}
eof
}
spawn ssh -J $jump_host $target_host "echo 0936223270 | sudo -S docker start tsenyang-website"
expect {
"*assword:*" {
send "0936223270\r"
exp_continue
}
eof
}
spawn ssh -J $jump_host $target_host "echo 0936223270 | sudo -S docker compose -f /home/ollama/vibework-git/docker-compose.yml up -d web"
expect {
"*assword:*" {
send "0936223270\r"
exp_continue
}
eof
}