Publish changelogs to Discord when releasing (#1428)
Co-authored-by: Crec0 <83436716+Crec0@users.noreply.github.com>
This commit is contained in:
1 parent
8c7dfa133e
commit
c10149ba55
1 file changed
+16
@@ -113,6 +113,22 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: Maven publishing artifacts for ${{ matrix.branch }}
|
name: Maven publishing artifacts for ${{ matrix.branch }}
|
||||||
path: publish/carpet/fabric-carpet/
|
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:
|
Merge-Scarpet-Docs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in new issue
Block a user