Update payload path

This commit is contained in:
2023-12-30 00:06:35 -05:00
parent ed1bd120e4
commit a8c73b569a

View File

@@ -10,18 +10,17 @@
- name: Debug - name: Debug
condition: condition:
all: all:
- event.payload is defined - event.payload.data.artifact_url is defined
action: action:
debug: debug:
- name: Create facts - name: Create facts
condition: condition:
all: all:
- event.payload is defined - event.payload.data.artifact_url is defined
- event.payload.artifact_url is defined
action: action:
run_job_template: run_job_template:
name: bab-deploy-application name: bab-deploy-application
organization: OYS organization: OYS
job_args: job_args:
extra_vars: extra_vars:
artifact_url: event.payload.artifact_url artifact_url: event.payload.date.artifact_url