From 2ee5f799a773794e172dc3f6a1bbea8eff979ac9 Mon Sep 17 00:00:00 2001 From: Alexa Amundson <118287761+blackboxprogramming@users.noreply.github.com> Date: Mon, 16 Mar 2026 12:22:00 -0500 Subject: [PATCH] =?UTF-8?q?cleanup:=20remove=20unused=20workflow=20?= =?UTF-8?q?=E2=80=94=20Actions=20disabled,=20CI=20runs=20on=20Gitea?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-droplet.yml | 76 ---------------------------- 1 file changed, 76 deletions(-) delete mode 100644 .github/workflows/deploy-droplet.yml diff --git a/.github/workflows/deploy-droplet.yml b/.github/workflows/deploy-droplet.yml deleted file mode 100644 index dc596c7..0000000 --- a/.github/workflows/deploy-droplet.yml +++ /dev/null @@ -1,76 +0,0 @@ -name: Deploy to DigitalOcean Droplet - -on: - push: - branches: [main, master] - paths: - - 'droplet-services/**' - - 'docker-compose.yaml' - - 'Dockerfile' - workflow_dispatch: - -jobs: - deploy: - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Deploy to Droplet via SSH - uses: appleboy/ssh-action@v1.0.0 - with: - host: ${{ secrets.DROPLET_IP }} - username: root - key: ${{ secrets.DROPLET_SSH_KEY }} - script: | - echo "🚀 Deploying to DigitalOcean Droplet..." - - # Navigate to application directory - cd /opt/blackroad || exit 1 - - # Pull latest code - echo "📥 Pulling latest code..." - git fetch origin - git reset --hard origin/main - - # Backup current state - echo "💾 Creating backup..." - docker-compose down - tar -czf backup_$(date +%Y%m%d_%H%M%S).tar.gz . || true - - # Pull new images - echo "📦 Pulling Docker images..." - docker-compose pull - - # Build and restart services - echo "🔨 Building and starting services..." - docker-compose up -d --build - - # Wait for services to start - echo "⏳ Waiting for services..." - sleep 15 - - # Health check - echo "🏥 Running health checks..." - docker-compose ps - - # Test services - curl -f http://localhost:8000/health || echo "⚠️ Health check failed" - - echo "✅ Deployment complete!" - - - name: Verify Deployment - run: | - echo "🔍 Verifying deployment..." - curl -I https://codex.blackroad.io/health || echo "⚠️ External health check failed" - - - name: Notify on Success - if: success() - run: | - echo "✅ Droplet deployment successful!" - - - name: Notify on Failure - if: failure() - run: | - echo "❌ Droplet deployment failed!"