ci: add action when new release is published

This commit is contained in:
Daniil 2022-02-08 23:28:27 +03:00 committed by appflowy
parent ebfddc744b
commit d6409e5889

11
.github/workflows/release.yml vendored Normal file
View File

@ -0,0 +1,11 @@
name: Release landed
on:
release:
types: [published]
jobs:
- name: Notify in Discord
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master
with:
args: '${{ github.event.tag_name }} is out 🚀 ${{ github.event.url }}\n${{ github.event.body }}'