Skip to content

Commit

Permalink
Merge pull request #168 from davseve/internal/ED-11261-one-click-clou…
Browse files Browse the repository at this point in the history
…d-release

Publish the Slack message to release channel [ED-11261]
  • Loading branch information
davseve authored Jul 27, 2023
2 parents 558cc49 + 307878b commit b890aab
Showing 1 changed file with 44 additions and 1 deletion.
45 changes: 44 additions & 1 deletion .github/workflows/one-click-hosting-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,47 @@ jobs:
with:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_TOKEN }}
SLACK_TAG_CHANNELS: ${{ secrets.SLACK_CHANNEL_RELEASE }}
PAYLOAD: ${{ env.PAYLOAD }}
PAYLOAD: |
{
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Hi All :smile:\n\nWe just Published Could release of *Elementor*\n`${{ env.PACKAGE_VERSION }}`"
}
},
{
"type": "divider"
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "GitHub Release *${{ env.PACKAGE_VERSION }}* \nCreated by ${{ github.actor }}"
},
"accessory": {
"type": "button",
"text": {
"type": "plain_text",
"text": "Open :point_left:",
"emoji": true
},
"value": "open-release",
"url": "https://github.com/${{ github.repository }}/releases/tag/v${{ env.PACKAGE_VERSION }}",
"action_id": "button-action"
}
},
{
"type": "divider"
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*v${{ env.PACKAGE_VERSION }} Changelog* \n\n ${{ env.CHANGELOG_CONTENT }}"
}
}
]
}

0 comments on commit b890aab

Please sign in to comment.