From 0665e3e224856506f52821a6bed574f092cea155 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Sun, 1 Mar 2026 19:48:15 +0100 Subject: [PATCH] chore(ci): replace brittle SSH telemetry trap with Gotify HTTP form-data POST webhook --- .gitea/workflows/deploy.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 2b525bf..36bd528 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -183,12 +183,8 @@ jobs: if: github.event.inputs.skip_checks != 'true' run: | pnpm build > build.log 2>&1 || { - echo "Build failed! Uploading log to alpha..." - mkdir -p ~/.ssh - echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa - ssh-keyscan -H alpha.mintel.me >> ~/.ssh/known_hosts - scp build.log root@alpha.mintel.me:/root/mintel-me-build-failure.log || true + curl -X POST "https://gotify.infra.mintel.me/message?token=${{ secrets.GOTIFY_TOKEN }}" \ + -F "title=❌ QA Build Crashed" -F "priority=8" -F "message=