chore(ci): replace brittle SSH telemetry trap with Gotify HTTP form-data POST webhook
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Failing after 2m6s
Build & Deploy / 🏗️ Build (push) Has been skipped
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 1s

This commit is contained in:
2026-03-01 19:48:15 +01:00
parent 2bdcbfb907
commit 0665e3e224

View File

@@ -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=<build.log"
exit 1
}