Skip to content

Commit

Permalink
Update deploy-on-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
oakesjosh committed Oct 24, 2024
1 parent 77e1f75 commit 3945e3a
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/deploy-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,27 @@ jobs:
# For posting a rich message using Block Kit
payload: |
{
"text": "GitHub Action build result: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}",
"text": "*🚀 New Plugin Version Deployed!*",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "GitHub Action build result: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
"text": "*Plugin:* ${{ github.event.repository.name }}"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*Version:* ${{ github.event.release.tag_name }}"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*<${{ github.event.release.html_url }}|View Release on GitHub>*"
}
}
]
Expand Down

0 comments on commit 3945e3a

Please sign in to comment.