v4.0.0-alpha-6-1 #6
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Announce Release to Discord | |
| on: | |
| release: | |
| types: [published] # triggers when you publish a release (not draft) | |
| permissions: | |
| contents: read # Allows reading release notes, tag, assets, etc. | |
| jobs: | |
| notify-discord: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Send release to Discord | |
| uses: SethCohen/github-releases-to-discord@v1 # check exact latest version | |
| with: | |
| webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }} | |
| # optional customizations below - most have good defaults | |
| username: "Release Changelog" | |
| avatar_url: "https://cdn.discordapp.com/avatars/487431320314576937/bd64361e4ba6313d561d54e78c9e7171.png" | |
| content: "||@everyone||" | |
| embed_color: 3447003 # hex color without # (e.g. Discord blue) | |
| include_assets: true # list download links if you have binaries |