From 8c49d4a6b3b053c647c1d42332439673189a4fb1 Mon Sep 17 00:00:00 2001 From: Ben Date: Sat, 24 Feb 2018 01:08:40 +0000 Subject: [PATCH] Don't delete GL_REPOSITORY --- hooks/post-receive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/post-receive b/hooks/post-receive index a668207e..30f4be1e 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' -- GitLab