Skip to content

Update README.md

Update README.md #3

Workflow file for this run

name: Notify Telegram on Update
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Notify Telegram
env:
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
CHAT_ID: ${{ secrets.CHAT_ID }}
run: |
curl -s -X POST "https://api.telegram.org/bot$TELEGRAM_TOKEN/sendMessage" \
-d chat_id=$CHAT_ID \
-d text="Repository has been updated. Check the latest changes!"