I'm looking for some feedbacks!
I've been running apps on OS, one is the staging version and one is the production version.
Both of them run on codeigniter (php 7.4).
The development is made by a dedicated developer which has a specific user which i've created for him.
The additional user can see and write the two apps folders.
To make things more interesting, there's a a git repository on gitlab, set as private because the projects is not for the public eye yet.
What i want to obtain
- the dev push the code from his laptop to the repo on gitlab
- he then "git pull" the repo to the opal stack staging app
- if everything works on staging, he "git pull" the repo files on the production app.
the question
What would be the correct way to setup everything, to avoid issues on opalstack, while pulling the files from gitlab?
thanks for any insight!