diff options
Diffstat (limited to 'hooks/update')
-rwxr-xr-x | hooks/update | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/hooks/update b/hooks/update new file mode 100755 index 0000000..f483cc0 --- /dev/null +++ b/hooks/update @@ -0,0 +1,12 @@ +#!/usr/bin/env ruby + +# This file was placed here by GitLab. It makes sure that your pushed commits +# will be processed properly. + +refname = ARGV[0] +key_id = ENV['GL_USER'] +repo_path = `pwd` + +require_relative '../lib/gitlab_update' + +GitlabUpdate.new(repo_path, key_id, refname).exec |