Skip to content

Github workflow to send Telegram Notifications #3

Github workflow to send Telegram Notifications

Github workflow to send Telegram Notifications #3

name: Telegram Notification
on:
push:
branches:
- main
jobs:
telegram-notification:
runs-on: ubuntu-latest
steps:
- name: Send Telegram Notification
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
*Novo commit no repositório:* `${{ github.repository }}`
Autor: ${{ github.actor }}
Mensagem: ${{ github.event.head_commit.message }}
[Ver commit](${{ github.event.head_commit.url }})