Skip to content

Commit ea0bb14

Browse files
authored
initial notif 2
inital notif 2
2 parents 03121f9 + 727ecd4 commit ea0bb14

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/release-notification.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ jobs:
1616
"changelog": ${{ toJSON(github.event.release.body) }}
1717
}'
1818
19-
# - name: Send Release Details to Slack
20-
# uses: slackapi/slack-github-action@v1.23.0 # Or the latest version of this action
21-
# with:
22-
# payload: |
23-
# {
24-
# "version": "${{ github.event.release.tag_name }}",
25-
#
26-
# "release_url": "${{ github.event.release.html_url }}",
27-
# "releaseLink": ${{ toJSON(github.event.release.body) }}
28-
# }
19+
- name: Send Release Details to Slack
20+
uses: slackapi/slack-github-action@v1.23.0 # Or the latest version of this action
21+
with:
22+
payload: |
23+
{
24+
"version": "${{ github.event.release.tag_name }}",
25+
26+
"releaseLink": "${{ github.event.release.html_url }}",
27+
"changelog": ${{ toJSON(github.event.release.body) }}
28+
}
2929
# {
3030
# "release_name": "${{ github.event.release.name }}",
3131
# "tag_name": "${{ github.event.release.tag_name }}",
@@ -36,5 +36,5 @@ jobs:
3636
# "repository_url": "${{ github.event.repository.html_url }}",
3737
# "release_description": ${{ toJSON(github.event.release.body) }}
3838
# }
39-
# env:
40-
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # Use the secret for the webhook URL
39+
env:
40+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # Use the secret for the webhook URL

0 commit comments

Comments
 (0)