8000 create workflow · GyverLibs/FileData@97daf44 · GitHub
[go: up one dir, main page]

Skip to content

Commit 97daf44

Browse files
committed
create workflow
1 parent a837bac commit 97daf44

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/tg-send.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
name: Telegram Message
3+
on:
4+
release:
5+
types: [published]
6+
jobs:
7+
build:
8+
name: Send Message
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: send telegram message on push
12+
uses: appleboy/telegram-action@master
13+
with:
14+
to: ${{ secrets.TELEGRAM_TO }}
15+
token: ${{ secrets.TELEGRAM_TOKEN }}
16+
disable_web_page_preview: true
17+
message: |
18+
${{ github.event.repository.name }} v${{ github.event.release.tag_name }}
19+
${{ github.event.release.body }}
20+
https://github.com/${{ github.repository }}

0 commit comments

Comments
 (0)
0