| 1234567891011121314151617181920 |
- name: telegram message
- on: workflow_dispatch
- jobs:
- build:
- name: test
- runs-on: ubuntu-latest
- steps:
- - name: send telegram message on push
- env:
- TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
- TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
- TELEGRAM_MESSAGE_THREAD_ID: ${{ secrets.TELEGRAM_MESSAGE_THREAD_ID }}
- run: |
- curl -X POST "https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/sendMessage" \
- -d "chat_id=$TELEGRAM_CHAT_ID" \
- -d "message_thread_id=$TELEGRAM_MESSAGE_THREAD_ID" \
- -d "text=TEST
- test
- test33"
|