mirror of
https://github.com/appen-isen/.github.git
synced 2026-01-18 16:47:24 +01:00
chore(): create discord notifier workflow
This commit is contained in:
16
.github/workflows/discord-notifier.yml
vendored
Normal file
16
.github/workflows/discord-notifier.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
name: Notify github activity on discord
|
||||
|
||||
on:
|
||||
repository_dispatch:
|
||||
types: [org-workflow-bot] # <-- requirement to trigger central workflows
|
||||
|
||||
jobs:
|
||||
notify:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Discord notification
|
||||
env:
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
uses: Ilshidur/action-discord@08d9328
|
||||
with:
|
||||
args: 'The project {{ EVENT_PAYLOAD.repository.full_name }} has been deployed.'
|
||||
Reference in New Issue
Block a user