Skip to content

Release to Discord

Release to Discord #12

name: Release to Discord
on:
workflow_run:
workflows: ["Release"]
types: [completed]
workflow_dispatch:
jobs:
github-releases-to-discord:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Discord Release Webhook
uses: lettermint/action-discord-releases@v1.0.1
with:
color: 'b07219'
webhook_url: ${{ secrets.DISCORD_RELEASE_WEBHOOK_URL }}
content: 'A new release for the Lettermint Java SDK is now available! ||@Java||'