From 7bac1a0cd13e58e2371bb64fe0feba5ef299b5fc Mon Sep 17 00:00:00 2001 From: Wiktoria Van Harneveldt Date: Sun, 19 Oct 2025 19:22:00 +0200 Subject: [PATCH] ci: remove unused shorter deployment workflow for Discord bot --- .github/workflows/shorter-deploy.yml | 38 ---------------------------- 1 file changed, 38 deletions(-) delete mode 100644 .github/workflows/shorter-deploy.yml diff --git a/.github/workflows/shorter-deploy.yml b/.github/workflows/shorter-deploy.yml deleted file mode 100644 index 11545be..0000000 --- a/.github/workflows/shorter-deploy.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Build, Test and Deploy Discord Bot to VPS but shorter - -on: - workflow_dispatch: # Allow manual deployment - -jobs: - deploy: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Deploy to VPS - uses: appleboy/ssh-action@v1.0.3 - with: - host: ${{ secrets.VPS_HOST }} - username: ${{ secrets.VPS_USER }} - key: ${{ secrets.VPS_SSH_KEY }} - script: | - cd /home/${{ secrets.VPS_USER }}/webdev-bot - - # Stash any local changes - git stash push -m "Auto-deploy $(date)" 2>/dev/null || true - - # Pull latest changes - git checkout main - git pull origin main - - # Stop any existing containers - docker-compose down || true - - # Build and start production container with profile - docker-compose --profile prod up -d --build - - # Check status - echo "Deployment completed. Container status:" - docker-compose ps \ No newline at end of file