Do an automatic pull request after pushing to server

前端 未结 1 1056
旧时难觅i
旧时难觅i 2021-01-06 03:32

I have installed gitlab on a vps server which is also my remote for committing my local changes.

When i commit and push to the server (git@domain.com:root/project.gi

相关标签:
1条回答
  • 2021-01-06 03:51

    project.git is a bare repo, so if you have access to the gitlab server, you can go to ~git/repositories/root/project.git/hooks and add your post-receive hook in order to force a deployment.

    See an example in "deploying a website/webapp via git/gitolite permissions error" for instance.

    0 讨论(0)
提交回复
热议问题