Publish changelogs to Discord when releasing (#1428)

Co-authored-by: Crec0 <83436716+Crec0@users.noreply.github.com>
This commit is contained in:
altrisiandCrec0 authored and GitHub committed 2022-05-28 13:07:08 +02:00
1 parent 8c7dfa133e
commit c10149ba55
1 file changed
+16
+16
View File
@@ -113,6 +113,22 @@ jobs:
with:
name: Maven publishing artifacts for ${{ matrix.branch }}
path: publish/carpet/fabric-carpet/
Publish-To-Discord:
runs-on: ubuntu-latest
needs: [Build-And-Publish]
steps:
- name: Publish to discord
uses: Crec0/announce-n-crosspost@v1
with:
bot-token: ${{ secrets.DISCORD_BOT_TOKEN }}
channel: '897934715200339999'
content: |
**${{ github.event.release.name }}** has been released!
${{ github.event.release.body }}
Get it on Github Releases: <${{ github.event.release.html_url }}>
Or on CurseForge
Merge-Scarpet-Docs:
runs-on: ubuntu-latest
steps: