diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aaa0c2b..1c0bc64 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,4 +37,23 @@ jobs: upload_url: ${{ github.event.release.upload_url }} asset_path: ./dist.zip asset_name: dist.zip - asset_content_type: application/zip \ No newline at end of file + asset_content_type: application/zip + + - name: Send Discord notification + env: + DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} + uses: Ilshidur/action-discord@master + with: + args: | + 🚀 **New Release Available!** 🚀 + + Repository: **${{ github.repository }}** + Version: **${{ github.event.release.tag_name }}** + + ${{ github.event.release.name }} + + ${{ github.event.release.body }} + + 📥 [View Release Details](${{ github.event.release.html_url }}) + + Thank you for using our project! ✨