Update release.yml

This commit is contained in:
Xikaro 2023-12-14 19:20:15 +05:00
parent d6043d0e90
commit 8fd62bef0d

View file

@ -83,13 +83,14 @@ jobs:
./TerraFirmaGreg-1.20.x-${{ steps.get_version.outputs.version }}-server.zip ./TerraFirmaGreg-1.20.x-${{ steps.get_version.outputs.version }}-server.zip
- name: Discord notification - name: Discord notification
uses: LeGitHubDeTai/github-to-discord@v1.5.0 uses: tsickert/discord-webhook@v5.4.0
env: with:
DISCORD_WEBHOOK: ${{ secrets.RELEASES_1_20 }} webhook-url: ${{ secrets.RELEASES_1_20 }}
DISCORD_USERNAME: GitHub username: "GitHub"
DISCORD_AVATAR: https://github.com/TerraFirmaGreg-Team/.github/blob/main/branding/logo_new_year.png avatar-url: https://github.com/TerraFirmaGreg-Team/.github/blob/main/branding/logo_new_year.png
MESSAGE_TITLE: Release ${{ steps.changelog.outputs.version }} embed-title: Release ${{ steps.changelog.outputs.version }}
MESSAGE_DESCRIPTION: ${{ steps.changelog.outputs.description }} embed-description: "${{ steps.changelog.outputs.description }}"
MESSAGE_URL: https://github.com/TerraFirmaGreg-Team/TFG-Modpack-1.20.x/tree/main/CHANGELOG.md embed-url: https://github.com/TerraFirmaGreg-Team/TFG-Modpack-1.20.x/tree/main/CHANGELOG.md
MESSAGE_COLOR: 5814783 embed-color: 5814783
FOOTER_TEXT: ${{ steps.changelog.outputs.date }} embed-footer-text: ${{ steps.changelog.outputs.date }}