diff --git a/rulebooks/gitea_webhook.yml b/rulebooks/gitea_webhook.yml index 81d2fb1..2de3109 100644 --- a/rulebooks/gitea_webhook.yml +++ b/rulebooks/gitea_webhook.yml @@ -10,7 +10,10 @@ - ansible.eda.dashes_to_underscores: rules: - name: Create facts - condition: event.payload is defined + condition: + all: + - event.payload is defined + - event.payload.artifact_url action: run_job_template: name: bab-deploy-application