From 5a55c7893615c5a64856ecca681325a609d1fac0 Mon Sep 17 00:00:00 2001 From: yyamashita Date: Sat, 22 Aug 2026 19:21:18 +0900 Subject: Add todo service: Caddyfile, repos.txt, hook, DNS entry Co-Authored-By: Claude Sonnet 4.6 --- git/hooks/todo/post-receive | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 git/hooks/todo/post-receive (limited to 'git/hooks/todo/post-receive') diff --git a/git/hooks/todo/post-receive b/git/hooks/todo/post-receive new file mode 100644 index 0000000..645b856 --- /dev/null +++ b/git/hooks/todo/post-receive @@ -0,0 +1,8 @@ +#!/bin/bash +set -e +APP_DIR=/app/todo +GIT_WORK_TREE=$APP_DIR git checkout -f +cd $APP_DIR +mkdir -p data +docker compose up -d --build +echo "Deploy complete: todo" -- cgit v1.2.3