Skip to content

Commit 7942f23

Browse files
authored
Create mail.yml
1 parent a847355 commit 7942f23

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

mail.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Notification on push
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
build:
8+
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Discord notification
13+
env:
14+
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
15+
DISCORD_USERNAME: thatcoder
16+
DISCORD_AVATAR: https://resize.programme-television.ladmedia.fr/r/670,670/img/var/premiere/storage/images/tele-7-jours/news-tv/oss-117-le-caire-nid-d-espions-c8-le-show-de-jean-dujardin-4484285/90175763-1-fre-FR/OSS-117-Le-Caire-nid-d-espions-C8-Le-show-de-Jean-Dujardin.jpg
17+
uses: Ilshidur/action-discord@master
18+
with:
19+
args: 'A new commit has been pushed to Ilshidur/action-discord.'
20+
- name: Discord notification
21+
env:
22+
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
23+
uses: Ilshidur/action-discord@master

0 commit comments

Comments
 (0)