chore: add message_file

This commit is contained in:
Bo-Yi Wu
2019-11-02 14:33:19 +08:00
parent 406cbeb82a
commit 62444e6582
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -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
+2
View File
@@ -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'