Deploy job - deploys Habit Bot to Ubuntu server
false
https://gittea.cloud-handson.com/joungmin/openclaw-workspace.git
gitea-credentials
*/main
false
built-in
# Stop existing bot
ssh joungmin@192.168.0.147 "pkill -f habit_bot.py || true"
# Copy files
scp habit_bot.py requirements.txt joungmin@192.168.0.147:/home/joungmin/habit_bot/
# Install dependencies
ssh joungmin@192.168.0.147 "cd /home/joungmin/habit_bot && source venv/bin/activate && pip install -q -r requirements.txt"
# Restart bot
ssh joungmin@192.168.0.147 "cd /home/joungmin/habit_bot && source venv/bin/activate && TELEGRAM_BOT_TOKEN=8325588419:AAGghb0nosWG8g6QtYeghqUs0RHug06uG74 nohup python habit_bot.py > bot.log 2>&1 &"
# Verify
sleep 3
ssh joungmin@192.168.0.147 "ps aux | grep habit_bot | grep -v grep"