bugfix: Default config now uses "triggers" instead of "trigger", and shows HTML (#521)

This commit is contained in:
James Read 2025-02-21 17:53:19 +00:00 committed by GitHub
parent 6550223ee4
commit 5cd5bd2a25
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 2 deletions

View File

@ -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