diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b79496b7..9bf72c7e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -304,42 +304,3 @@ jobs: run: gh release edit "${{ env.VERSION }}" --draft=false --repo "${{ github.repository }}" env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - discord: - name: Send Discord Notification - needs: publish-release - if: always() - runs-on: ubuntu-24.04 - steps: - - name: Determine status - id: status - run: | - case "${{ needs.publish-release.result }}" in - success) echo "status=Success" >> $GITHUB_OUTPUT; echo "colour=3066993" >> $GITHUB_OUTPUT ;; - failure) echo "status=Failure" >> $GITHUB_OUTPUT; echo "colour=15158332" >> $GITHUB_OUTPUT ;; - cancelled) echo "status=Cancelled" >> $GITHUB_OUTPUT; echo "colour=10181046" >> $GITHUB_OUTPUT ;; - *) echo "status=Skipped" >> $GITHUB_OUTPUT; echo "colour=9807270" >> $GITHUB_OUTPUT ;; - esac - - - name: Send notification - run: | - WEBHOOK="${{ secrets.DISCORD_WEBHOOK }}" - - PAYLOAD=$(cat <