mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2025-02-23 22:10:46 +01:00
21 lines
533 B
YAML
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...
|