Skip to content

fix: add trailing newline to chatbot_fast.py for flake8 #4

fix: add trailing newline to chatbot_fast.py for flake8

fix: add trailing newline to chatbot_fast.py for flake8 #4

Workflow file for this run

name: Deploy to DigitalOcean
on:
push:
branches: [main]
jobs:
deploy:
name: Deploy to Droplet
runs-on: ubuntu-latest
steps:
- name: Deploy via SSH
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.DO_HOST }}
username: ${{ secrets.DO_USER }}
key: ${{ secrets.DO_SSH_KEY }}
script: |
set -e
echo "📦 Pulling latest code..."
cd /root/Thought-Processor
git fetch origin main
git reset --hard origin/main
echo "🔧 Building containers..."
docker-compose build
echo "🔄 Restarting stack..."
docker-compose down
docker-compose up -d
echo "⏳ Waiting for health checks..."
sleep 10
echo "✅ Checking service status..."
docker-compose ps
echo "🎉 Deployment complete!"