Skip to content

Commit 604b2cf

Browse files
authored
Merge pull request #13 from devserkan/test-discord-notify-success
damn, fix notify messages :D
2 parents f646727 + d51ee91 commit 604b2cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pipeline.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
uses: stegzilla/discord-notify@v2
3838
with:
3939
title: Deployment succeeded!
40-
message: "**${{ github.head_commit.message }}**\n**Creator:** ${{ github.head_commit.author.username }}\n${{ github.head_commit.url }}"
40+
message: "**${{ github.event.head_commit.message }}**\n**Creator:** ${{ github.event.head_commit.author.username }}\n${{ github.event.head_commit.url }}"
4141
webhook_url: ${{ secrets.DISCORD_WEBHOOK }}
4242
username: 'devserkan'
4343
colour: #1f883d
@@ -46,7 +46,7 @@ jobs:
4646
uses: stegzilla/discord-notify@v2
4747
with:
4848
title: Deployment failed!
49-
message: "**${{ github.head_commit.message }}**\n**Creator:** ${{ github.head_commit.author.username }}\n${{ github.head_commit.url }}"
49+
message: "**${{ github.event.head_commit.message }}**\n**Creator:** ${{ github.event.head_commit.author.username }}\n${{ github.event.head_commit.url }}"
5050
webhook_url: ${{ secrets.DISCORD_WEBHOOK }}
5151
username: 'devserkan'
5252
colour: #d73a49

0 commit comments

Comments
 (0)