10000 create workflow · GyverLibs/TimeRandom@2f2088c · GitHub
[go: up one dir, main page]

Skip to content

Commit 2f2088c

Browse files
committed
create workflow
1 parent 27e2b03 commit 2f2088c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/tg-send.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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+
message: |
17+
${{ github.event.repository.name }}
18+
${{ github.event.release.body }}
19+
https://github.com/${{ github.repository }}

0 commit comments

Comments
 (0)
0