diff options
Diffstat (limited to 'hooks/post-receive')
-rwxr-xr-x | hooks/post-receive | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/hooks/post-receive b/hooks/post-receive index 34802e5..b7bc85e 100755 --- a/hooks/post-receive +++ b/hooks/post-receive @@ -4,12 +4,9 @@ # will be processed properly. refs = $stdin.read -key_id = ENV['GL_ID'] +key_id = ENV.delete('GL_ID') repo_path = Dir.pwd -# reset GL_ID env since we already got its value -ENV['GL_ID'] = nil - require_relative '../lib/gitlab_custom_hook' require_relative '../lib/gitlab_post_receive' |