christianlempa-boilerplates/kestra/webhook.yaml

19 lines
434 B
YAML
Raw Normal View History

2024-04-19 14:41:05 +02:00
# Kestra Webhook Template
# ---
2024-04-21 11:59:31 +02:00
#
2024-04-19 14:41:05 +02:00
# This template is a simple webhook trigger that can be used to trigger a task execution.
2024-04-21 11:59:31 +02:00
#
2024-04-19 14:41:05 +02:00
# usage:
# curl http://your-kestra-instance/api/v1/executions/webhook/your-namespace/your-task-id/your-secret-key
id: webhook
namespace: # your-namespace
tasks:
# your-tasks
triggers:
- id: webhook
type: io.kestra.core.models.triggers.types.Webhook
key: # your-secret-key, keep this secret!