From 62444e65827628e5850b24ad6a609c1e708561bd Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sat, 2 Nov 2019 14:33:19 +0800 Subject: [PATCH] chore: add message_file --- README.md | 1 + action.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 699767f..364fe8a 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,7 @@ Remove `args` to send the default message. * video - optional. video message * debug - optional. enable debug mode * format - optional. `markdown` or `html` +* message_file - optional. overwrite the default message template with the contents of the specified file. ### Example diff --git a/action.yml b/action.yml index 63ce82d..974ea0a 100644 --- a/action.yml +++ b/action.yml @@ -22,6 +22,8 @@ inputs: description: 'enable debug mode.' format: description: 'message format: markdown or html' + message_file: + description: 'overwrite the default message template with the contents of the specified file' runs: using: 'docker' image: 'Dockerfile'