From ca06a026a58b5d876608741cac49ae3021acfb20 Mon Sep 17 00:00:00 2001 From: Marko Petrovic <22802784+gitbluf@users.noreply.github.com> Date: Mon, 28 Mar 2022 20:38:39 +0200 Subject: [PATCH] Update triggers.md This single line caused me a lot of pain... --- docs/triggers.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/triggers.md b/docs/triggers.md index 482408f7..0db33ade 100644 --- a/docs/triggers.md +++ b/docs/triggers.md @@ -61,9 +61,9 @@ data: # Optional 'oncePer' property ensure that notification is sent only once per specified field value # E.g. following is triggered once per sync revision trigger.on-deployed: | - when: app.status.operationState.phase in ['Succeeded'] and app.status.health.status == 'Healthy' - oncePer: app.status.sync.revision - send: [app-sync-succeeded] + - when: app.status.operationState.phase in ['Succeeded'] and app.status.health.status == 'Healthy' + oncePer: app.status.sync.revision + send: [app-sync-succeeded] ``` ### oncePer