Hi,
I have installed Gitlab CE on my own server, and works perfectly. Now I have a website project inside a repository and I want to deploy it inside the same server where is installed gitlab.
I have nginx, and GitLab is accessible on gitlab.mydomain.com and I want to visit my website project on website_project.mydomain.com deploying every push in /var/www/website_project.mydomain.com/.
I have searched a lot on the web to find a solution, and maybe I can do this using GitLab CI and Capistrano to deploy it, but I haven’t understand how do it.
So I have some questions:
- Is GitLab CI and Capistrano the right tools to do this?
If yes: - Where do I have to install Capistrano? On my local machine, or on the development/production server (where I have installed GitLab and Nginx)?
- What are the right parameters for .gitlab-ci.yml and Capistrano?
Thanks