Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #57 from jt-wang/telegram
Browse files Browse the repository at this point in the history
Notify Telegram when a new release is published
  • Loading branch information
MichaelYuhe authored Dec 12, 2023
2 parents ce103a8 + 046a3b3 commit 514792f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/notify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Notify
on:
release:
types: [published]

jobs:
notify:
name: Notify via Telegram
runs-on: ubuntu-latest
steps:
- name: Send message to Telegram
uses: Lukasss93/telegram-action@v2
env:
TELEGRAM_TOKEN: ${{ secrets.telegram_token }}
TELEGRAM_CHAT: ${{ secrets.telegram_chat }}

0 comments on commit 514792f

Please sign in to comment.