From fa5678ffdfc18f36feb7d3529a647f504d67cb93 Mon Sep 17 00:00:00 2001 From: chenhang Date: Tue, 16 Jun 2026 14:15:51 +0800 Subject: [PATCH] ci: debug post-receive cwd --- .githooks/post-receive | 1 + 1 file changed, 1 insertion(+) diff --git a/.githooks/post-receive b/.githooks/post-receive index c02ba4e2..61ef1172 100755 --- a/.githooks/post-receive +++ b/.githooks/post-receive @@ -1,6 +1,7 @@ #!/bin/sh # Post-receive hook: push 后自动 build + start # +echo "DEBUG: PWD=$PWD GIT_DIR=$GIT_DIR GIT_WORK_TREE=$GIT_WORK_TREE HOME=$HOME USER=$USER" >&2 # pnpm 环境变量 export NVM_DIR="$HOME/.nvm"