I have a laravel project which has already been manually deployed on the remote server (nginx server). Now, since the project has been deployed, I would like to pull the project on the server each time I do git push. another way, when I push the project to gitlab, after I click on run pipeline to pull the project on the server.
1- how can we connect gitlab with the server?
2- I would like the scripts to put them in the gitlab-ci.yml file