From 0a7ca1201b1646468626083cc3f393040a6e73fe Mon Sep 17 00:00:00 2001 From: Refuhr Date: Wed, 8 Jul 2026 19:00:16 +0200 Subject: [PATCH] ci: remove Discord notify job Co-Authored-By: Claude Opus 4.8 --- .github/workflows/build.yml | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ba36932..ab44344 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -206,30 +206,3 @@ jobs: SavvyCAN-Windows_x64_CIBuild.zip SavvyCAN-macOS_x64.dmg/SavvyCAN_x64.dmg SavvyCAN-macOS_ARM64.dmg/SavvyCAN_arm64.dmg - - notify: - name: Notify Discord - runs-on: ubuntu-latest - needs: [buildwindows, buildmacos86, buildmacos-arm64, buildlinux] - steps: - - id: msg_var - name: remove newlines - run: | - export release_msg=$(cat << EOF - ${{ github.event.head_commit.message }} - EOF - ) - release_msg="${release_msg//$'\n'/'-'}" - release_msg="${release_msg//$'\r'/'-'}" - release_msg="${release_msg//$'('/'-'}" - release_msg="${release_msg//$')'/'-'}" - echo $release_msg - echo "{msg}={$release_msg}" >> $GITHUB_OUTPUT - - - name: Notify Discord - run: | - curl -i -H "Accept: application/json" \ - -H "Content-Type:application/json" \ - -X POST \ - --data "{\"content\": null,\"embeds\": [{\"title\": \"${{ github.repository }} Build Complete\", \"description\": \"${{ steps.msg_var.outputs.msg }} \\nCommit: ${{ github.sha }}\\n[Build Artifacts](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}#artifacts)\", \"color\": 5131997, \"author\": { \"name\": \"Github Builds\" } } ]}" \ - https://discord.com/api/webhooks/${{ secrets.WEBHOOK_ID }}/${{ secrets.WEBHOOK_TOKEN }}