Files
bin/projekt-matching/deploy/trigger_webhook.sh

10 lines
351 B
Bash
Executable File

#!/bin/bash
# Fire the PM Ingest webhook. Carries no logic; failures are harmless
# (state lives in the IMAP inbox, next tick retries).
set -u
source "$HOME/.config/projekt-matching/env"
curl -sS -m 15 -X POST "$FLOW1_WEBHOOK" \
-H "x-api-key: $LANGFLOW_API_KEY" -H 'Content-Type: application/json' \
-d '{"source": "systemd-timer"}' || true
echo