Files
playground/deploy-hook/entrypoint.sh
T
Frank Schwenk 8cdde429f5 feat: playground static site with cursor webhook deploy
Scaffold nginx + deploy-hook stack for playground.schwenk.online,
Gitea cursor workflow, directory-based public/ content, and boka
bootstrap via git clone.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-05 16:07:24 +02:00

12 lines
240 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
if [ -z "${WEBHOOK_SECRET:-}" ]; then
echo "Error: WEBHOOK_SECRET is not set"
exit 1
fi
envsubst < /etc/webhook/hooks.json.template > /tmp/hooks.json
exec webhook -hooks /tmp/hooks.json -verbose