bugfix: Default config now uses "triggers" instead of "trigger", and shows HTML (#521)
This commit is contained in:
parent
6550223ee4
commit
5cd5bd2a25
|
|
@ -108,6 +108,10 @@ actions:
|
||||||
icon: ashtonished
|
icon: ashtonished
|
||||||
shell: rm -rf /opt/oldBackups/
|
shell: rm -rf /opt/oldBackups/
|
||||||
arguments:
|
arguments:
|
||||||
|
- type: html
|
||||||
|
title: Description
|
||||||
|
default:
|
||||||
|
The documentation for this action can be found at <a href = "example.com">example.com</a>.
|
||||||
- type: confirmation
|
- type: confirmation
|
||||||
title: Are you sure?!
|
title: Are you sure?!
|
||||||
|
|
||||||
|
|
@ -197,13 +201,13 @@ actions:
|
||||||
icon: box
|
icon: box
|
||||||
shell: docker start {{ container.Names }}
|
shell: docker start {{ container.Names }}
|
||||||
entity: container
|
entity: container
|
||||||
trigger: Update container entity file
|
triggers: ["Update container entity file"]
|
||||||
|
|
||||||
- title: Stop {{ container.Names }}
|
- title: Stop {{ container.Names }}
|
||||||
icon: box
|
icon: box
|
||||||
shell: docker stop {{ container.Names }}
|
shell: docker stop {{ container.Names }}
|
||||||
entity: container
|
entity: container
|
||||||
trigger: Update container entity file
|
triggers: ["Update container entity file"]
|
||||||
|
|
||||||
# Lastly, you can hide actions from the web UI, this is useful for creating
|
# Lastly, you can hide actions from the web UI, this is useful for creating
|
||||||
# background helpers that execute only on startup or a cron, for updating
|
# background helpers that execute only on startup or a cron, for updating
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue