summaryrefslogtreecommitdiff
path: root/git/hooks/license-slot-checker
diff options
context:
space:
mode:
authoryyamashita <yyamashita@hetzner.yyamashita.com>2026-10-31 13:20:27 +0900
committeryyamashita <yyamashita@hetzner.yyamashita.com>2026-10-31 13:20:27 +0900
commitb4ecef96fae14a92d12279927986e69c2e223180 (patch)
tree822b448e7544aa197a9db6efc43f2ddb875eae55 /git/hooks/license-slot-checker
parent5a55c7893615c5a64856ecca681325a609d1fac0 (diff)
Add status pages, ntfy alerts, and license-slot-checker repo
- status/: lightweight status checker (status.yyamashita.com, /api/status) with ntfy DOWN/recovered alerts after consecutive failures - uptime-kuma/: Uptime Kuma at uptime.yyamashita.com - hetzner-admin: authenticated /status page (status-app results + docker ps -a) - ntfy/: self-hosted ntfy at ntfy.yyamashita.com (deny-all auth, install.sh creates admin user and status-app token) - Caddyfile, DNS, post-receive hook, tests/check.sh, docs updated - license-slot-checker: add to repos.txt, hook, and Claude sessions Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'git/hooks/license-slot-checker')
-rwxr-xr-xgit/hooks/license-slot-checker/post-receive4
1 files changed, 4 insertions, 0 deletions
diff --git a/git/hooks/license-slot-checker/post-receive b/git/hooks/license-slot-checker/post-receive
new file mode 100755
index 0000000..46ad873
--- /dev/null
+++ b/git/hooks/license-slot-checker/post-receive
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -e
+GIT_WORK_TREE=/home/yyamashita/workspaces/repos/license-slot-checker git checkout -f
+echo "Deploy complete: license-slot-checker"