Browse Source

ci: add test telegram notify workflow

Nicolas Giard 3 years ago
parent
commit
56457c858c
1 changed files with 18 additions and 0 deletions
  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.