infinite-agents-public/deployment
Claude c5931ab7f0
Add DigitalOcean droplet deployment with GitHub Actions
Complete deployment setup for agents.jeffemmett.com:

- GitHub Actions workflow for automatic deployment to droplet
- Nginx configuration with SSL support
- Automated setup script for initial droplet configuration
- Comprehensive deployment guide with troubleshooting
- Supports deployment to both Cloudflare Pages and droplet

Features:
- Auto-deploy on push to main
- SSL with Let's Encrypt
- Optimized nginx config with caching and compression
- Detailed documentation and setup instructions
2025-11-23 21:29:51 +00:00
..
DEPLOYMENT_GUIDE.md Add DigitalOcean droplet deployment with GitHub Actions 2025-11-23 21:29:51 +00:00
README.md Add DigitalOcean droplet deployment with GitHub Actions 2025-11-23 21:29:51 +00:00
nginx-config.conf Add DigitalOcean droplet deployment with GitHub Actions 2025-11-23 21:29:51 +00:00
setup-droplet.sh Add DigitalOcean droplet deployment with GitHub Actions 2025-11-23 21:29:51 +00:00

README.md

Deployment Configuration

This directory contains all deployment-related files for agents.jeffemmett.com.

📁 Files

  • DEPLOYMENT_GUIDE.md - Complete deployment guide with step-by-step instructions
  • setup-droplet.sh - Automated setup script for DigitalOcean droplet
  • nginx-config.conf - Nginx web server configuration with SSL
  • README.md - This file

🚀 Quick Start

For DigitalOcean Droplet Deployment

  1. Read the guide first: DEPLOYMENT_GUIDE.md

  2. Configure DNS in Cloudflare:

    • Type: A
    • Name: agents
    • Content: 143.198.39.165
    • Proxy: DNS only (gray cloud)
  3. Run setup on droplet:

    ssh root@143.198.39.165
    curl -sSL https://raw.githubusercontent.com/Jeff-Emmett/infinite-agents/main/deployment/setup-droplet.sh | bash
    
  4. Configure GitHub Secrets:

    • DROPLET_HOST: 143.198.39.165
    • DROPLET_USER: root
    • DROPLET_SSH_KEY: Your private SSH key
  5. Deploy:

    • Push to main branch
    • Or trigger workflow manually in GitHub Actions

🔧 Manual Deployment

If you need to deploy manually:

ssh root@143.198.39.165
cd /var/www/agents.jeffemmett.com
git pull origin main
npm ci
python3 generate_index.py
chown -R www-data:www-data .
systemctl reload nginx

📚 Documentation

See DEPLOYMENT_GUIDE.md for complete documentation including:

  • Prerequisites
  • DNS configuration
  • SSL setup
  • Troubleshooting
  • Monitoring & logs

🎯 Deployment Options

You can deploy to:

  1. DigitalOcean Droplet (full control) - Uses deploy-droplet.yml
  2. GitHub Pages (simple, free) - Uses deploy.yml
  3. Cloudflare Pages (recommended) - Manual setup via Cloudflare UI

All three can work simultaneously!