Skip to content

Commit

Permalink
ci: fix accessing wrong text content
Browse files Browse the repository at this point in the history
  • Loading branch information
Cammin committed May 8, 2024
1 parent 632fcdb commit 1ef5f44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Discord notification
if: steps.semantic-release.outputs.version != 'null'
if: steps.semantic-release.outputs.nextRelease.version != 'null'
uses: Ilshidur/action-discord@master
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
DISCORD_EMBEDS: '
[{
"title": "New Release: ${{ steps.semantic-release.outputs.version }}",
"description": "${{ steps.semantic-release.outputs.notes }}",
"title": "New Release: ${{ steps.semantic-release.outputs.nextRelease.version }}",
"description": "${{ steps.semantic-release.outputs.nextRelease.notes }}",
"footer": {"text": "Pushed by ${{ github.event.head_commit.author.name }}"}
}]'

0 comments on commit 1ef5f44

Please sign in to comment.