Skip to content

Commit 7d1d1a5

Browse files
authored
Merge pull request #11 from devserkan/test-discord-notify-success
fix for notify action (add message)
2 parents f098152 + 424e97f commit 7d1d1a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/pipeline.yml

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
uses: stegzilla/discord-notify@v2
3838
with:
3939
title: Deployment succeeded!
40+
message: "**${{ github.event.pull_request.title }}**\n**Creator:** ${{ github.event.pull_request.user.login }}\n${{ github.event.pull_request.html_url }}"
4041
webhook_url: ${{ secrets.DISCORD_WEBHOOK }}
4142
username: 'devserkan'
4243
colour: #1f883d
@@ -45,6 +46,7 @@ jobs:
4546
uses: stegzilla/discord-notify@v2
4647
with:
4748
title: Deployment failed!
49+
message: "**${{ github.event.pull_request.title }}**\n**Creator:** ${{ github.event.pull_request.user.login }}\n${{ github.event.pull_request.html_url }}"
4850
webhook_url: ${{ secrets.DISCORD_WEBHOOK }}
4951
username: 'devserkan'
5052
colour: #d73a49

0 commit comments

Comments
 (0)