createa discord-notifier.yml, trying discord_webhook variable
This commit is contained in:
parent
80a96811a6
commit
a4d8bc0160
|
@ -0,0 +1,18 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- '**'
|
||||||
|
|
||||||
|
name: Discord Notification
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
notify:
|
||||||
|
name: Discord Notification
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- uses: fateyan/action-discord-notifier@v1
|
||||||
|
with:
|
||||||
|
message-title: New Commits Pushed
|
||||||
|
webhook: ${{ secrets.DISCORD_WEBHOOK }}
|
Loading…
Reference in New Issue