Answer the question
In order to leave comments, you need to log in
GitLab: How to set up auto-rollout to the server?
Tell me, please, knowledgeable people. Is it possible somehow with GitLab to set up auto-upload to a directory on the server with each new commit?
With GitHub, this can definitely be done, but GitLab is of interest.
I honestly don’t even know how it is implemented, I would at least know where to dig.
Answer the question
In order to leave comments, you need to log in
Git has a hook system . When the selected event occurs, a predefined script is executed, in your case, post-commit is suitable. Their implementation is found in most Git clients and servers.
GitLab adds its own hooks to these features . If that's not enough, you can try GitLab Runner .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question