diff options
| author | yyamashita <yyamashita@hetzner.yyamashita.com> | 2026-10-31 13:20:27 +0900 |
|---|---|---|
| committer | yyamashita <yyamashita@hetzner.yyamashita.com> | 2026-10-31 13:20:27 +0900 |
| commit | b4ecef96fae14a92d12279927986e69c2e223180 (patch) | |
| tree | 822b448e7544aa197a9db6efc43f2ddb875eae55 /git/hooks | |
| parent | 5a55c7893615c5a64856ecca681325a609d1fac0 (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')
| -rwxr-xr-x | git/hooks/hetzner-infra/post-receive | 3 | ||||
| -rwxr-xr-x | git/hooks/license-slot-checker/post-receive | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/git/hooks/hetzner-infra/post-receive b/git/hooks/hetzner-infra/post-receive index 6eeff49..bbc792a 100755 --- a/git/hooks/hetzner-infra/post-receive +++ b/git/hooks/hetzner-infra/post-receive @@ -6,4 +6,7 @@ bash /app/infra/cgit/deploy.sh bash /app/infra/mail/deploy.sh bash /app/infra/hetzner-admin/deploy.sh bash /app/infra/vpn/deploy.sh +bash /app/infra/ntfy/deploy.sh +bash /app/infra/status/deploy.sh +bash /app/infra/uptime-kuma/deploy.sh echo "Deploy complete: hetzner-infra" 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" |
