Skip to content

Instantly share code, notes, and snippets.

@Mikulas
Created December 15, 2012 13:19
Show Gist options
  • Save Mikulas/4294895 to your computer and use it in GitHub Desktop.
Save Mikulas/4294895 to your computer and use it in GitHub Desktop.
Git deploy with gitolite (backend) and gitlabhq (frontend)

GitlabHQ enforces it's own hooks, but it stores them in ~gitlab\gitlab\lib\hooks\. Adding the following line at the end of the iteration will call our hooks properly.

sudo /srv/virtual_hosts/deploybot.eu/deploy_hook $reponame $oldrev $newrev $GL_USER $ref $pwd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment