#!/usr/bin/env ruby # This file was placed here by GitLab. It makes sure that your pushed commits # will be processed properly. See the `update` script for instructions on how # to add your own update hooks. refname = ARGV[0] key_id = ENV['GL_ID'] repo_path = `pwd` require_relative '../lib/gitlab_update' GitlabUpdate.new(repo_path, key_id, refname).exec