Skip to content

Commit

Permalink
Document YADM_HOOK_DATA and YADM_HOOK_DIR env variables (#343)
Browse files Browse the repository at this point in the history
  • Loading branch information
erijo committed Jan 27, 2025
1 parent ac73229 commit 983eff4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions _docs/090_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 983eff4

Please sign in to comment.