From 983eff4a7762b6cf9759e2b60f20fb5dcd6f3f35 Mon Sep 17 00:00:00 2001 From: Erik Flodin Date: Mon, 27 Jan 2025 22:22:06 +0100 Subject: [PATCH] Document YADM_HOOK_DATA and YADM_HOOK_DIR env variables (#343) --- _docs/090_hooks.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_docs/090_hooks.md b/_docs/090_hooks.md index 2141ae2..967d190 100644 --- a/_docs/090_hooks.md +++ b/_docs/090_hooks.md @@ -22,6 +22,12 @@ Hooks have the following environment variables available to them at runtime: YADM_HOOK_COMMAND : The command which triggered the hook +YADM_HOOK_DATA +: The path to the yadm data directory + +YADM_HOOK_DIR +: The path to the yadm directory + YADM_HOOK_EXIT : The exit status of the yadm command