Cleanup discord release message (#2532)

This commit is contained in:
Ryan Hullah 2023-12-07 11:04:06 -05:00 committed by GitHub
parent 0f4cb9c429
commit 94f9bc74f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,12 +19,9 @@ jobs:
steps:
- name: on-publish
if: github.event_name == 'release' && github.event.action == 'published'
uses: Ilshidur/action-discord@master
uses: SethCohen/github-releases-to-discord@v1.13.1
with:
args: |
Github repo: [${{ github.repository }}](<${{ github.event.repository.html_url}}>)
Release: [${{ github.event.release.name }}](<${{ github.event.release.html_url }}>)
${{ github.event.release.body }}
webhook_url: ${{ secrets.DISCORD_WEBHOOK }}
- name: on-success
if: github.event.workflow_run.conclusion == 'success'
uses: Ilshidur/action-discord@master