diff --git a/.github/workflows/makeRelease.yml b/.github/workflows/makeRelease.yml index 269f5159..04b84621 100644 --- a/.github/workflows/makeRelease.yml +++ b/.github/workflows/makeRelease.yml @@ -102,3 +102,11 @@ jobs: # password: # server-dir: ./upload # local-dir: /opt/code/os4depot-release/ + - name: Notify on Discord on successful release + uses: appleboy/discord-action@master + with: + webhook_id: ${{ secrets.DISCORD_ANNOUNCEMENTS_ID }} + webhook_token: ${{ secrets.DISCORD_ANNOUNCEMENTS_TOKEN }} + message: "New release of clib4: **${{ github.event.release.tag_name }}** has been created. Check it out at: https://github.com/AmigaLabs/clib4/releases/tag/${{ github.event.release.tag_name }}" + username: GitHub Actions + avatar_url: "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" \ No newline at end of file