Question
Auto deploy from GitLab to server
Hello!
I’ve been looking around how I can achieve the functionality that when I push changed into my gitlab account (gitlab.com) it will automatically will update my server’s files.
I’ve read this article: https://www.digitalocean.com/community/tutorials/how-to-set-up-automatic-deployment-with-git-with-a-vps
But this article lets me push to my server and not push it to gitlab.com and then it will automatically push the changed to my server.
How can I do that whenever I push changed to my gitlab.com account it will automatically push those changes to my droplet?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×