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=