Skip to content

Commit 89c32bf

Browse files
committed
Sending a message to the teams channel for new releases
1 parent 3455cd0 commit 89c32bf

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,14 @@ jobs:
2727
- run: npm run publish:demo-ci
2828
env:
2929
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
30+
notify_teams_channel:
31+
name: Notify MAD Release Teams Channel
32+
runs-on: ubuntu-18.04
33+
steps:
34+
- uses: actions/checkout@master
35+
- name: Microsoft Teams Notification
36+
uses: skitionek/notify-microsoft-teams@master
37+
if: success()
38+
with:
39+
webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}
40+
overwrite: "{title: `New release published! ${workflow}`}"

0 commit comments

Comments
 (0)