diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index c31ef28..b76747f 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -98,24 +98,3 @@ jobs: else echo "No draft releases found" fi - - - name: Send notification to Teams - run: | - curl -H 'Content-Type: application/json' \ - -d "{ - \"@type\": \"MessageCard\", - \"@context\": \"http://schema.org/extensions\", - \"summary\": \"New Release\", - \"themeColor\": \"0076D7\", - \"title\": \"🚀 New Release: ${{ github.ref_name }}\", - \"sections\": [{ - \"activityTitle\": \"Repository: ${{ github.repository }}\", - \"text\": \"${{ steps.release_notes_github.outputs.body }}\" - }], - \"potentialAction\": [{ - \"@type\": \"OpenUri\", - \"name\": \"View Release\", - \"targets\": [{ \"os\": \"default\", \"uri\": \"https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }}\" }] - }] - }" \ - ${{ secrets.TEAMS_WEBHOOK_URL }}