Skip to content

Commit c7b0ce1

Browse files
author
Jan Galek
committed
[Fix] discord post github workflow
1 parent 4bfec52 commit c7b0ce1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/post-to-discord.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
"username": "GitHub Actions",
2323
"avatar_url": "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png",
2424
"embeds": [{
25-
"title": "New release of ${REPO}: '${TAG}'",
26-
"url": "https://github.com/'${REPO}'/releases/tag/'${TAG}'",
27-
"description": "${REPO} ${TAG} just released!",
25+
"title": "New release of ${{ github.repository }}: '${{ github.ref_name }}'",
26+
"url": "https://github.com/'${{ github.repository }}'/releases/tag/'${{ github.ref_name }}'",
27+
"description": "${{ github.repository }} ${{ github.ref_name }} just released!",
2828
"color": 5814783
2929
}]
3030
}' \

0 commit comments

Comments
 (0)