christianlempa-boilerplates/kestra/webhook.yaml
2024-12-27 11:45:43 +01:00

21 lines
533 B
YAML

---
# Kestra Webhook Template
# ---
#
# This template is a simple webhook trigger that can be used to trigger a task execution.
#
# usage:
# curl http://your-kestra-instance/api/v1/executions/webhook/your-namespace/your-task-id/your-secret-key
#
id: webhook # <- Replace with your task id...
namespace: your-namespace # <- Replace with your namespace...
tasks:
# -- Add your tasks here...
triggers:
- id: webhook
type: io.kestra.plugin.core.trigger.Webhook
key: your-secret-key # <- Replace with your secret key...