notify-discord.yml 495 B

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