Skip to content

Commit

Permalink
Merge pull request #79 from Ac-Wiki/telegram-bot
Browse files Browse the repository at this point in the history
Create telegram-push.yml
  • Loading branch information
ztm0929 authored Oct 31, 2024
2 parents 3427864 + 626c9b9 commit ab89a12
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 ab89a12

Please sign in to comment.