chore(workflow): add test message

This commit is contained in:
Bo-Yi Wu
2019-02-19 23:58:46 +08:00
parent cc9853533f
commit 1b52d8d894
+4 -3
View File
@@ -2,7 +2,8 @@ workflow "Send Notification" {
on = "push" on = "push"
resolves = [ resolves = [
"Send Custom Message", "Send Custom Message",
"Send Default Message" "Send Default Message",
"Send Photo Message"
] ]
} }
@@ -23,7 +24,7 @@ action "Send Default Message" {
] ]
} }
action "Send photo message" { action "Send Photo message" {
uses = "appleboy/telegram-action@master" uses = "appleboy/telegram-action@master"
secrets = [ secrets = [
"TELEGRAM_TOKEN", "TELEGRAM_TOKEN",
@@ -32,5 +33,5 @@ action "Send photo message" {
env = { env = {
PHOTO = "tests/github.png" PHOTO = "tests/github.png"
} }
args = "A new commit has been pushed." args = "send photo message."
} }