Update build.yml
This commit is contained in:
parent
cba3b462d8
commit
bf485e709a
1 changed files with 2 additions and 6 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
|
@ -66,14 +66,10 @@ 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>)"
|
||||
|
||||
news="$header \n $link"
|
||||
echo -e "$news" >> $GITHUB_OUTPUT
|
||||
echo -e "$link" >> $GITHUB_OUTPUT
|
||||
|
||||
|
||||
- name: Send Discord message
|
||||
|
|
@ -82,7 +78,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.news }}"
|
||||
embed-title: "${{ steps.message.outputs.link }}"
|
||||
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 }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue