docs: update

This commit is contained in:
Bo-Yi Wu
2019-02-17 16:33:00 +08:00
parent bd236a6c5a
commit 2eee0c6ce3
2 changed files with 17 additions and 1 deletions
+17 -1
View File
@@ -6,8 +6,10 @@
## Usage ## Usage
Send custom message as blow
``` ```
action "Post message to Telegram" { action "Send Custom Message" {
uses = "appleboy/telegram-action@master" uses = "appleboy/telegram-action@master"
secrets = [ secrets = [
"TELEGRAM_TOKEN", "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",
]
}
```
<img src="images/telegram-workflow.png">
## Secrets ## Secrets
Getting started with [Telegram Bot API](https://core.telegram.org/bots/api). Getting started with [Telegram Bot API](https://core.telegram.org/bots/api).
Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB