feat: add work flow

This commit is contained in:
Bo-Yi Wu
2019-02-17 11:21:14 +08:00
parent a9747db338
commit e7e2d8b1eb
2 changed files with 26 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
workflow "Send Notification" {
on = "push"
resolves = ["Post message to Telegram"]
}
action "Post message to Telegram" {
uses = "appleboy/telegram-action@master"
secrets = [
"TELEGRAM_TOKEN",
"TELEGRAM_TO",
]
args = "Hello World"
}
+13
View File
@@ -1,3 +1,16 @@
# 🚀 Telegram for GitHub Actions
[GitHub Action](https://developer.github.com/actions/) for sending a Telegram notification message.
## Usage
```
action "Post message to Telegram" {
uses = "appleboy/telegram-action@master"
secrets = [
"TELEGRAM_TOKEN",
"TELEGRAM_TO",
]
args = "Hello World"
}
```