瀏覽代碼

ci: add test telegram notify workflow

Nicolas Giard 3 年之前
父節點
當前提交
56457c858c
共有 1 個文件被更改,包括 18 次插入0 次删除
  1. 18 0
      .github/workflows/telegram.yml

+ 18 - 0
.github/workflows/telegram.yml

@@ -0,0 +1,18 @@
+name: Telegram Test
+on:
+  workflow_dispatch:
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    steps:
+    
+      - name: Notify Telegram Channel
+        uses: appleboy/telegram-action@0.0.3
+        with:
+          to: ${{ secrets.TELEGRAM_TO }}
+          token: ${{ secrets.TELEGRAM_TOKEN }}
+          format: markdown
+          message: |
+            Wiki.js **2.5.284** has been released!
+
+            See [release notes](https://github.com/requarks/wiki/releases) for details.