mirror of
https://github.com/appleboy/telegram-action.git
synced 2026-05-14 10:52:51 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ae54341a85 | |||
| 70b64f5beb | |||
| 7347add3d3 | |||
| 6c7afcc8db | |||
| 372c737013 | |||
| 1b52d8d894 |
@@ -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."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user