Create discord-notify.yml
This commit is contained in:
parent
fec16c179a
commit
34e00a45e8
17
.github/workflows/discord-notify.yml
vendored
Normal file
17
.github/workflows/discord-notify.yml
vendored
Normal 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 }}
|
Loading…
Reference in New Issue
Block a user