summaryrefslogtreecommitdiff
path: root/hooks/post-receive
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/post-receive')
-rwxr-xr-xhooks/post-receive2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/post-receive b/hooks/post-receive
index a668207..30f4be1 100755
--- a/hooks/post-receive
+++ b/hooks/post-receive
@@ -5,7 +5,7 @@
refs = $stdin.read
key_id = ENV.delete('GL_ID')
-gl_repository = ENV.delete('GL_REPOSITORY')
+gl_repository = ENV['GL_REPOSITORY']
repo_path = Dir.pwd
require_relative '../lib/gitlab_custom_hook'