Skip to content

Commit

Permalink
Create telegram-push.yml
Browse files Browse the repository at this point in the history
创建TG通知推送Action

Signed-off-by: Kevin Zhang <[email protected]>
  • Loading branch information
ztm0929 authored Oct 30, 2024
1 parent 3427864 commit 626c9b9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/telegram-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Telegram Notification Push

on:
push

jobs:
bulid:
name: Build
runs-on: ubuntu-latest
steps:
- name: send message on push
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.GROUP_ID }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
${{ github.actor }} created commit:
Commit message: ${{ github.event.commits[0].message }}
https://github.com/${{ github.repository }}/commit/${{github.sha}}

0 comments on commit 626c9b9

Please sign in to comment.