Skip to content

Update telegram_notify.yml #4

Update telegram_notify.yml

Update telegram_notify.yml #4

name: Telegram notify on push
on:
push:
branches:
- main # если у тебя другая ветка — поменяй
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Send message to Telegram
run: |
curl -s -X POST "https://api.telegram.org/bot${{ secrets.TELEGRAM_MONITOR_TOKEN }}/sendMessage" \
-d chat_id="${{ secrets.TELEGRAM_CHAT_ID }}" \
-d text="🚀 Новый push в репозиторий ${{ github.repository }}"