From fbb61f37f26f8a771e45d6158229a07616c4a8d4 Mon Sep 17 00:00:00 2001 From: Jean-Luc Makiola Date: Wed, 8 Apr 2026 21:14:25 +0200 Subject: [PATCH] ci: remove deploy job from CI pipeline Deployment is now handled by Gitea webhooks triggering Coolify directly, replacing the manual Docker build + webhook approach. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/ci.yml | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 558e9f2..e162d1a 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -29,34 +29,6 @@ jobs: - name: Build run: bun run build - deploy: - needs: ci - if: gitea.ref == 'refs/heads/Develop' && gitea.event_name == 'push' - runs-on: dind - steps: - - name: Clone repository - run: | - apk add --no-cache git curl docker-cli docker-cli-buildx - git clone https://${{ secrets.GITEA_TOKEN }}@gitea.jeanlucmakiola.de/${{ gitea.repository }}.git repo - cd repo - git checkout Develop - - - name: Build and push Docker image - working-directory: repo - run: | - REGISTRY="gitea.jeanlucmakiola.de" - IMAGE="${REGISTRY}/${{ gitea.repository_owner }}/gearbox" - echo "${{ secrets.REGISTRY_TOKEN }}" | docker login "$REGISTRY" -u "${{ gitea.repository_owner }}" --password-stdin - docker buildx build \ - --cache-from type=registry,ref=${IMAGE}:buildcache \ - --cache-to type=registry,ref=${IMAGE}:buildcache \ - -t "${IMAGE}:develop" \ - --push . - - - name: Trigger Coolify deploy - run: | - curl -s -X GET "${{ secrets.COOLIFY_WEBHOOK }}" - e2e: if: false # E2E tests need rewrite: auth moved from local login to OIDC (Logto). Tests still expect username/password flow. needs: ci