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>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
FROM almir/webhook:latest
|
||||
|
||||
USER root
|
||||
RUN apk add --no-cache git bash gettext-envsubst
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
USER webhook
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user