Update workflows

This commit is contained in:
EstrellaXD
2023-05-05 13:52:35 +08:00
parent 73921b9b7b
commit 3a27855e09
4 changed files with 40 additions and 18 deletions

18
.github/workflows/telegram.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
name: Telegram Notification
on:
release:
types: [published]
jobs:
telegram:
runs-on: ubuntu-latest
steps:
- name: send telegram message on push
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
New release: ${{ github.event.release.title }}
Link: ${{ github.event.release.html_url }}