From 44860941eedd4f32ea9a6490650fecbe7a7508d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vi=CC=81ctor=20Falco=CC=81n?= Date: Mon, 8 Dec 2025 18:31:03 +0100 Subject: [PATCH] undo deploy ci check --- .github/workflows/ci.yml | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 26520106..b100f502 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -151,30 +151,7 @@ jobs: needs: [tests, linter] if: github.ref == 'refs/heads/main' && github.event_name == 'push' steps: - - name: Check for existing deployment - id: check-deployment - run: | - response=$(curl -s \ - --connect-timeout 30 \ - --max-time 60 \ - -H "Authorization: Bearer ${{ secrets.DEPLOYMENT_TOKEN }}" \ - "http://147.93.126.54:8000/api/v1/deployments") - - in_progress=$(echo "$response" | jq --arg app_id "${{ secrets.APPLICATION_ID }}" \ - 'map(select(.application_id == $app_id and .commit == "HEAD")) | length') - - echo "Deployments in progress: $in_progress" - - if [ "$in_progress" -gt 0 ]; then - echo "Deployment already in progress, skipping..." - echo "skip=true" >> $GITHUB_OUTPUT - else - echo "No deployment in progress, proceeding..." - echo "skip=false" >> $GITHUB_OUTPUT - fi - - name: Trigger deployment - if: steps.check-deployment.outputs.skip != 'true' run: | response=$(curl -s -w "\n%{http_code}" \ --connect-timeout 30 \