mirror of
https://github.com/appleboy/telegram-action.git
synced 2026-05-14 02:42:44 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ae54341a85 | |||
| 70b64f5beb | |||
| 7347add3d3 | |||
| 6c7afcc8db | |||
| 372c737013 | |||
| 1b52d8d894 |
@@ -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,14 +24,15 @@ action "Send Default Message" {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
action "Send photo message" {
|
action "Send Photo Message" {
|
||||||
uses = "appleboy/telegram-action@master"
|
uses = "appleboy/telegram-action@master"
|
||||||
|
env = {
|
||||||
|
PHOTO = "tests/github.png"
|
||||||
|
DOCUMENT = "tests/gophercolor.png"
|
||||||
|
}
|
||||||
secrets = [
|
secrets = [
|
||||||
"TELEGRAM_TOKEN",
|
"TELEGRAM_TOKEN",
|
||||||
"TELEGRAM_TO",
|
"TELEGRAM_TO",
|
||||||
]
|
]
|
||||||
env = {
|
args = "send photo message."
|
||||||
PHOTO = "tests/github.png"
|
|
||||||
}
|
|
||||||
args = "A new commit has been pushed."
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user