From 1274de63b522e905a82bce6ff14c3ea830c94035 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Tue, 19 Feb 2019 23:58:46 +0800 Subject: [PATCH] chore(workflow): add test message --- .github/main.workflow | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/main.workflow b/.github/main.workflow index 42570a5..c46e53f 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -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." }