Skip to content

Commit 1828e75

Browse files
committed
avatar
1 parent 5bf5474 commit 1828e75

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/discord.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- name: Send Discord Embed via Curl
1212
run: |
1313
PAYLOAD=$(jq -n --arg author "${{ github.actor }}" \
14-
--arg author_avatar "${{ github.actor.avatar.url }}" \
14+
--arg author_avatar "${{ github.actor.author_avatar.url }}" \
1515
--arg message "${{ github.event.head_commit.message }}" \
1616
--arg url "${{ github.event.head_commit.url }}" \
1717
--arg timestamp "${{ github.event.head_commit.timestamp }}" \
@@ -25,7 +25,7 @@ jobs:
2525
"color": 3101622,
2626
"footer": {
2727
"icon_url": $author_avatar,
28-
"text": $author
28+
"text": "Pushed by " + $author
2929
},
3030
"timestamp": $timestamp
3131
}

0 commit comments

Comments
 (0)