Update notify-telegram.yml
This commit is contained in:
parent
5f2f3115ab
commit
1bb75d1415
1 changed files with 8 additions and 15 deletions
23
.github/workflows/notify-telegram.yml
vendored
23
.github/workflows/notify-telegram.yml
vendored
|
@ -1,20 +1,13 @@
|
||||||
name: telegram message
|
name: telegram message
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
|
||||||
|
|
||||||
build:
|
jobs:
|
||||||
name: Build
|
notify:
|
||||||
|
name: Notify via Telegram
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: send telegram message on push
|
- name: Send message to Telegram
|
||||||
uses: appleboy/telegram-action@master
|
uses: Lukasss93/telegram-action@v2
|
||||||
with:
|
env:
|
||||||
to: ${{ secrets.TELEGRAM_TO }}
|
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
|
||||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
TELEGRAM_CHAT: ${{ secrets.TELEGRAM_TO }}
|
||||||
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}}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue