From 55d31a9ca394be33d1c591f7d253ddb2f96fddf2 Mon Sep 17 00:00:00 2001 From: Shanmuga Krishnan S M Date: Fri, 7 Aug 2026 10:48:44 +0530 Subject: [PATCH] ci: remove VPS deployment workflow --- .github/workflows/deploy.yml | 42 ------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 719d4f0..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Deploy RIT Freshers Hub to VPS - -on: - push: - branches: - - main - -jobs: - deploy: - name: Deploy to Live VPS - runs-on: ubuntu-latest - - steps: - - name: Checkout Code - uses: actions/checkout@v4 - - - name: SSH into VPS and Deploy - uses: appleboy/ssh-action@v1.0.3 - with: - host: ${{ secrets.VPS_HOST }} - username: ${{ secrets.VPS_USERNAME }} - key: ${{ secrets.VPS_SSH_KEY }} - port: 22 - script: | - echo "🚀 Starting Automated CI/CD Deployment..." - cd /var/www/freshers-hub - - echo "📥 Pulling latest code from GitHub..." - git pull origin main - - echo "⚡ Building Frontend PWA..." - npm install --production=false - npm run build - - echo "🤖 Building Go Chatbot..." - cd /var/www/freshers-hub/chatbot-service - go build -o chatbot-service main.go - - echo "🔄 Restarting Systemd Services..." - systemctl restart springboot chatbot telegram-bot nginx - - echo "🎉 Deployment Completed Successfully!"