mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-28 19:23:22 +01:00
20 lines
440 B
YAML
20 lines
440 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
|
|
namespace: # your-namespace
|
|
|
|
tasks:
|
|
# - your-tasks
|
|
|
|
triggers:
|
|
- id: webhook
|
|
type: io.kestra.core.models.triggers.types.Webhook
|
|
key: # your-secret-key, keep this secret!
|