1
0
telegram-action/README.md

16 lines
470 B
Markdown

# telegram-notification
Notification to Telegram chat about Gitea Action workflow status
## Usage
To be notified in the Telegram chat about the results of a wokflow, add the next step to the end of your wokflow:
```yaml
- name: Send message
uses: action/telegram-notification@main
if: always()
with:
chat_id: ${{ secrets.TG_CHAT_ID }}
token: ${{ secrets.TG_TOKEN }}
```
where ```chat_id``` is the chat ID and ```token``` is the token of the telegram bot