summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/pre-receive2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/pre-receive b/hooks/pre-receive
index a7eeb30..a4b2e32 100755
--- a/hooks/pre-receive
+++ b/hooks/pre-receive
@@ -5,7 +5,7 @@
refs = $stdin.read
key_id = ENV['GL_ID']
-protocol = ENV['PROTOCOL'] || 'http'
+protocol = ENV['GL_PROTOCOL']
repo_path = Dir.pwd
require_relative '../lib/gitlab_custom_hook'