Skip to content

Commit f82964f

Browse files
author
Sean Sundberg
authored
Adds workflow to send slack notification on release publish (#117)
1 parent 4d3c4e7 commit f82964f

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Notify slack
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
8+
jobs:
9+
notify:
10+
name: Slack notification
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Slack Notification
17+
uses: rtCamp/[email protected]
18+
env:
19+
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
20+
SLACK_USERNAME: "cntkBot"
21+
SLACK_ICON_EMOJI: ":cloudwb:"
22+
SLACK_TITLE: New release
23+
SLACK_MESSAGE: ":rocket: ${{ github.event.release.tag_name }} of Iteration Zero released! https://github.com/${{ github.repository }}/releases/tag/${{ github.event.release.tag_name }}"
24+

0 commit comments

Comments
 (0)