Create discord-notify.yml

This commit is contained in:
Louve 2021-05-09 22:21:42 +02:00 committed by GitHub
parent fec16c179a
commit 34e00a45e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

17
.github/workflows/discord-notify.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Notify Discord
on:
push:
branches:
- "*"
issues:
jobs:
notify:
runs-on: ubuntu-latest
if: github.repository_owner == 'XLabsProject'
steps:
- name: Send notification to Discord
uses: Ilshidur/action-discord@master
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_CI_BOT_WEBHOOK }}