Skip to content

Commit

Permalink
Create telegram notification
Browse files Browse the repository at this point in the history
  • Loading branch information
hieuwu authored Aug 11, 2024
1 parent 51c6cb6 commit 8040223
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Telegram message
on: [push]
jobs:

build:
name: Send Telegram message
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: |
${{ github.actor }} created commit:
Commit message: ${{ github.event.commits[0].message }}
Repository: ${{ github.repository }}
See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}}

0 comments on commit 8040223

Please sign in to comment.