digdag-chatwork is a plugin sending messages to chatwork.
reference
DEMO:
SUCCESS | FAILED |
---|---|
- Can use the
chatwork>
opetaror - Easy to use
- Flexible templates
[Note]
If you want to use task_name
variable, you must use digdag v0.9.9 and up.
Also, you can see expamle workflow at sample directory.
- Create workflow file (e.g. chatwork.dig)
_export:
plugin:
repositories:
- https://jitpack.io
dependencies:
- com.github.hizuki-aizawa:digdag-chatwork:0.1.0
api_token: XXXXXXXXXXXXXXXX
room_id: XXXXXXX
+step1:
chatwork>: good-template.txt
- Create templates for chatwork's payload (e.g. good-template.txt)
:)(cracker)
[info][title]SUCCESS[/title]Task Name
${task_name}
Session Date
${session_date}[/info]
- Runs workflow
$ digdag run chatwork.dig