Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Xikaro committed Jan 5, 2024
1 parent bf485e7 commit 1ade28c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,14 @@ jobs:
id: message
shell: bash
run: |
header="## **${{ steps.info.outputs.project_name }}** был обновлен до ${{ steps.info.outputs.project_version }}! :tada:"
link+="[CurseForge](<https://www.curseforge.com/minecraft/modpacks/terrafirmagreg/files/5009295>) • "
link+="[GitHub](<https://github.com/TerraFirmaGreg-Team/TFG-Modpack-1.20.x/releases/tag/0.4.0>) • "
link+="[Issues](<https://github.com/TerraFirmaGreg-Team/TFG-Modpack-1.20.x/issues>)"
echo -e "$link" >> $GITHUB_OUTPUT
news="$header\n$link"
echo "$news" >> $GITHUB_OUTPUT
- name: Send Discord message
Expand All @@ -78,7 +82,7 @@ jobs:
webhook-url: "${{secrets.RELEASES_1_20}}"
username: "TerraFirmaGreg"
avatar-url: "https://raw.githubusercontent.com/TerraFirmaGreg-Team/.github/main/branding/logo_new_year.png"
embed-title: "${{ steps.message.outputs.link }}"
embed-title: "${{ steps.message.outputs.news }}"
embed-description: "${{ steps.changelog.outputs.description }}"
embed-url: https://github.com/TerraFirmaGreg-Team/TFG-Modpack-1.20.x/releases/tag/0.4.0
content: "${{ steps.changelog.outputs.description }}"
Expand Down

0 comments on commit 1ade28c

Please sign in to comment.