We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 360a7b2 commit 199dd5eCopy full SHA for 199dd5e
1 file changed
.github/workflows/minify.yml
@@ -31,3 +31,16 @@ jobs:
31
with:
32
commit_message: "Build: Minify GStime.js"
33
file_pattern: 'GStime.min.js'
34
+
35
+ - name: Send success message to Telegram
36
+ if: success()
37
+ run: |
38
+ curl -X POST "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendMessage" \
39
+ -d chat_id="${{ secrets.TELEGRAM_CHAT_ID }}" \
40
+ -d text="🟢 $GITHUB_REPOSITORY [${{ github.event.pusher.name }}] - OK"
41
+ - name: Send error message to Telegram
42
+ if: failure()
43
44
45
46
+ -d text="🔴 $GITHUB_REPOSITORY [${{ github.event.pusher.name }}] - ERROR"
0 commit comments