Browse Source

ci: add action when new release is published

Daniil 3 năm trước cách đây
mục cha
commit
d6409e5889
1 tập tin đã thay đổi với 11 bổ sung0 xóa
  1. 11 0
      .github/workflows/release.yml

+ 11 - 0
.github/workflows/release.yml

@@ -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 }}'