mirror of
https://github.com/appleboy/telegram-action.git
synced 2026-05-14 02:42:44 +00:00
chore: add message_file
This commit is contained in:
@@ -53,6 +53,7 @@ Remove `args` to send the default message.
|
|||||||
* video - optional. video message
|
* video - optional. video message
|
||||||
* debug - optional. enable debug mode
|
* debug - optional. enable debug mode
|
||||||
* format - optional. `markdown` or `html`
|
* format - optional. `markdown` or `html`
|
||||||
|
* message_file - optional. overwrite the default message template with the contents of the specified file.
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,8 @@ inputs:
|
|||||||
description: 'enable debug mode.'
|
description: 'enable debug mode.'
|
||||||
format:
|
format:
|
||||||
description: 'message format: markdown or html'
|
description: 'message format: markdown or html'
|
||||||
|
message_file:
|
||||||
|
description: 'overwrite the default message template with the contents of the specified file'
|
||||||
runs:
|
runs:
|
||||||
using: 'docker'
|
using: 'docker'
|
||||||
image: 'Dockerfile'
|
image: 'Dockerfile'
|
||||||
|
|||||||
Reference in New Issue
Block a user