diff --git a/.github/workflows/notify-discord.yml b/.github/workflows/notify-discord.yml new file mode 100644 index 0000000..9c19de1 --- /dev/null +++ b/.github/workflows/notify-discord.yml @@ -0,0 +1,16 @@ +name: Discord notification + +on: + release: + types: [published] + +jobs: + discord-notification: + runs-on: ubuntu-latest + steps: + - name: Discord notification 📯 + env: + DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} + uses: Ilshidur/action-discord@0.3.2 + with: + args: '${{ github.event.repository.name }} [${{ github.event.release.tag_name }}](${{ github.event.release.html_url }}) has been released. 🚀'