Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2018-10-08 14:48:35 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2018-10-08 14:48:35 +0300
commit01166e828ae5c61890bfff940a147a610483d0fe (patch)
tree779ff7abdb2f4aca6b7ad7392969c7d7749fb0f8 /doc
parentaefe456f8a92288cf1490d217ddbf9cc1bf2ae61 (diff)
parent0c8bbd07905b27fdaa013e3f95bbddfba18943d6 (diff)
Merge branch 'docs-clarify-hook-name-values' into 'master'
Added note to clarify values for hook-name.d See merge request gitlab-org/gitlab-ce!22165
Diffstat (limited to 'doc')
-rw-r--r--doc/administration/custom_hooks.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/administration/custom_hooks.md b/doc/administration/custom_hooks.md
index 9b0fabb9259..c58ced7d520 100644
--- a/doc/administration/custom_hooks.md
+++ b/doc/administration/custom_hooks.md
@@ -50,6 +50,9 @@ Hooks can be also placed in `hooks/<hook_name>.d` (global) or
`custom_hooks/<hook_name>.d` (per project) directories supporting chained
execution of the hooks.
+NOTE: **Note:** `<hook_name>.d` would need to be either `pre-receive.d`,
+`post-receive.d`, or `update.d` to work properly. Any other names will be ignored.
+
To look in a different directory for the global custom hooks (those in
`hooks/<hook_name.d>`), set `custom_hooks_dir` in gitlab-shell config. For
Omnibus installations, this can be set in `gitlab.rb`; and in source