webhook.yaml 436 B

123456789101112131415161718
  1. # Kestra Webhook Template
  2. # ---
  3. #
  4. # This template is a simple webhook trigger that can be used to trigger a task execution.
  5. #
  6. # usage:
  7. # curl http://your-kestra-instance/api/v1/executions/webhook/your-namespace/your-task-id/your-secret-key
  8. id: webhook
  9. namespace: # your-namespace
  10. tasks:
  11. # your-tasks
  12. triggers:
  13. - id: webhook
  14. type: io.kestra.core.models.triggers.types.Webhook
  15. key: # your-secret-key, keep this secret!