diff --git a/README.md b/README.md index 2cf68c6..517f03c 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,10 @@ ## Usage +Send custom message as blow + ``` -action "Post message to Telegram" { +action "Send Custom Message" { uses = "appleboy/telegram-action@master" secrets = [ "TELEGRAM_TOKEN", @@ -17,6 +19,20 @@ action "Post message to Telegram" { } ``` +Send the default message. Please remove args + +``` +action "Send Default Message" { + uses = "appleboy/telegram-action@master" + secrets = [ + "TELEGRAM_TOKEN", + "TELEGRAM_TO", + ] +} +``` + + + ## Secrets Getting started with [Telegram Bot API](https://core.telegram.org/bots/api). diff --git a/images/telegram-workflow.png b/images/telegram-workflow.png new file mode 100644 index 0000000..0072b9b Binary files /dev/null and b/images/telegram-workflow.png differ