Gitlab CI/CD


#1

I wanna try to utilize Gitlab’s CI/CD pipeline, and I’m not sure can I make it work if I just wanna deploy to my VPS server, without containers, without kubernetes. Just a pipeline, when I push code to gitlab’s repo, it would build it and deploy to the VPS.

Is this possible with Gitlab’s infrastructure, if so, some tutorial advice would be appreciated, and if not, what other solution would you recommend for my use case ?

Thanks.


#2

ok, after investigating a bit, I just need help with setting up deploy script in .gitlab-ci.yml, that would utilize docker in the process before deployment to VPS. How would I go about deploying to my VPS ? Using SSH connection I presume ?

Help is appreciated in writing .gitlab-ci.yml file.