From 52efe66650e4c248da18a862076e1a1358291c76 Mon Sep 17 00:00:00 2001 From: Caue Augusto dos Santos <46695526+caueasantos@users.noreply.github.com> Date: Mon, 25 Jan 2021 14:00:27 -0500 Subject: [PATCH] This revision changes only if someone run sync operation or changes are detected (#157) --- catalog/triggers/on-deployed.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalog/triggers/on-deployed.yaml b/catalog/triggers/on-deployed.yaml index 7ee14188..93fdb0ab 100644 --- a/catalog/triggers/on-deployed.yaml +++ b/catalog/triggers/on-deployed.yaml @@ -1,4 +1,4 @@ - when: app.status.operationState.phase in ['Succeeded'] and app.status.health.status == 'Healthy' description: Application is synced and healthy. Triggered once per commit. send: [app-deployed] - oncePer: app.status.sync.revision \ No newline at end of file + oncePer: app.status.operationState.syncResult.revision \ No newline at end of file