From ec314296809633312fbb7b5969f92be3405198f7 Mon Sep 17 00:00:00 2001 From: Xikaro <0regon.end@gmail.com> Date: Thu, 14 Dec 2023 18:57:19 +0500 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7adb91edd..ba71ea720 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -82,13 +82,13 @@ jobs: ./TerraFirmaGreg-1.20-${{ steps.get_version.outputs.version }}-server.zip - name: Discord notification - uses: tsickert/discord-webhook@v5.4.0 - with: - webhook-url: ${{ secrets.RELEASES_1_20 }} - username: "GitHub" - avatar-url: https://github.com/TerraFirmaGreg-Team/.github/blob/6279c7b205e642fd6b1398f55df988dfd306d265/branding/logo.png - embed-title: Release ${{ steps.changelog.outputs.version }} - embed-description: "${{ steps.changelog.outputs.description }}" - embed-url: https://github.com/TerraFirmaGreg-Team/TFG-Modpack-1.20.x/tree/main/CHANGELOG.md - embed-color: 15430476 - embed-footer-text: ${{ steps.changelog.outputs.date }} + uses: LeGitHubDeTai/github-to-discord@v1.5.0 + env: + DISCORD_WEBHOOK: ${{ secrets.RELEASES_1_20 }} + DISCORD_USERNAME: GitHub + DISCORD_AVATAR: https://github.com/TerraFirmaGreg-Team/.github/blob/main/branding/logo_new_year.png + MESSAGE_TITLE: Release ${{ steps.changelog.outputs.version }} + MESSAGE_DESCRIPTION: ${{ steps.changelog.outputs.description }} + MESSAGE_URL: https://github.com/TerraFirmaGreg-Team/TFG-Modpack-1.20.x/tree/main/CHANGELOG.md + MESSAGE_COLOR: 5814783 + FOOTER_TEXT: ${{ steps.changelog.outputs.date }}