1
0
telegram-action/README.md
2023-10-21 13:12:47 +02:00

15 lines
499 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