christianlempa-boilerplates/kestra/webhook.yaml

21 lines
533 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
#
2024-04-19 14:41:05 +02:00
2024-12-03 14:43:56 +01:00
id: webhook # <- Replace with your task id...
namespace: your-namespace # <- Replace with your namespace...
2024-04-19 14:41:05 +02:00
tasks:
2024-12-03 14:43:56 +01:00
# -- Add your tasks here...
2024-04-19 14:41:05 +02:00
triggers:
- id: webhook
2024-12-03 14:43:56 +01:00
type: io.kestra.plugin.core.trigger.Webhook
key: your-secret-key # <- Replace with your secret key...