6 Commits

Author SHA1 Message Date
Bo-Yi Wu ae54341a85 fix: remove unused env 2019-02-20 00:09:06 +08:00
Bo-Yi Wu 70b64f5beb fix: typo 2019-02-20 00:08:28 +08:00
Bo-Yi Wu 7347add3d3 Update main.workflow 2019-02-20 00:06:40 +08:00
Bo-Yi Wu 6c7afcc8db fix: format 2019-02-20 00:05:13 +08:00
Bo-Yi Wu 372c737013 fix: add document message 2019-02-20 00:00:47 +08:00
Bo-Yi Wu 1b52d8d894 chore(workflow): add test message 2019-02-19 23:58:46 +08:00
+8 -6
View File
@@ -2,7 +2,8 @@ workflow "Send Notification" {
on = "push"
resolves = [
"Send Custom Message",
"Send Default Message"
"Send Default Message",
"Send Photo Message",
]
}
@@ -23,14 +24,15 @@ action "Send Default Message" {
]
}
action "Send photo message" {
action "Send Photo Message" {
uses = "appleboy/telegram-action@master"
env = {
PHOTO = "tests/github.png"
DOCUMENT = "tests/gophercolor.png"
}
secrets = [
"TELEGRAM_TOKEN",
"TELEGRAM_TO",
]
env = {
PHOTO = "tests/github.png"
}
args = "A new commit has been pushed."
args = "send photo message."
}