summaryrefslogtreecommitdiff
path: root/hooks/update
blob: f483cc07dc8545c8ee26b0b522c64e35aeae6211 (plain)
1
2
3
4
5
6
7
8
9
10
11
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