diff --git a/.github/main.workflow b/.github/main.workflow index 1327676..4f4cf1b 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -3,7 +3,7 @@ workflow "Send Notification" { resolves = [ "Send Custom Message", "Send Default Message", - "Send Photo Message" + "Send Photo Message", ] } @@ -26,13 +26,13 @@ action "Send Default 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" - DOCUMENT = "tests/gophercolor.png" - } args = "send photo message." }