notify-discord.yml 474 B

12345678910111213141516171819
  1. name: Notify Discord on Release
  2. on:
  3. release:
  4. types: [published]
  5. jobs:
  6. discordNotification:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - name: Send Discord message
  10. uses: Ilshidur/action-discord@master
  11. with:
  12. webhook: ${{ secrets.DISCORD_RELEASE_WEBHOOK }}
  13. message: |
  14. 🚀 New release: **${{ github.event.release.name }}**
  15. ${{ github.event.release.html_url }}
  16. ${{ github.event.release.body }}