ci: remove deploy job from CI pipeline
Some checks failed
CI / ci (push) Failing after 47s
CI / e2e (push) Has been skipped

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) <noreply@anthropic.com>
This commit is contained in:
2026-04-08 21:14:25 +02:00
parent 646fcd558a
commit fbb61f37f2

View File

@@ -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