YAML examples for Telegram notification
Telegram notification with attachments
yaml
- action: Send Telegram notification
type: TELEGRAM
integration: "my-telegram-integration"
trigger_time: ON_EVERY_EXECUTION
disabled: false
content: |-
Deployment to *$BUDDY_RUN_BRANCH* completed!
Revision: `$BUDDY_RUN_COMMIT`
Triggered by: $BUDDY_INVOKER_NAME
parse_mode: MARKDOWN
file_attachments:
- /logs/build.log
- /reports/test-results.xml
ignore_errors: false
retry_interval: 30
retry_count: 2
timeout: 60
Simple Telegram notification
yaml
- action: Telegram notify
type: TELEGRAM
integration: "my-telegram-integration"
trigger_time: ON_EVERY_EXECUTION
content: Build completed successfully