mirror of
https://github.com/TheLocehiliosan/yadm.git
synced 2026-09-10 07:16:22 -04:00
Document YADM_HOOK_DATA and YADM_HOOK_DIR env variables (#343)
Some checks failed
Test Site / Test Site (push) Has been cancelled
Some checks failed
Test Site / Test Site (push) Has been cancelled
This commit is contained in:
parent
ac73229737
commit
983eff4a77
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue