Answer the question
In order to leave comments, you need to log in
How to set up CI/CD on shared hosting?
Hello. There is a web application (regular site) naked php + mysql, the front is assembled by webpack, git is used.
There is a virtual hosting, and I just got tired every time I deployed to prod manually via ftp to upload files to the hosting.
What are the ways to CD for regular hosting? Access to the home folder via ssh is available.
And somehow I would like to work with database migrations so that each time I do not manually dump tables for the local machine.
Answer the question
In order to leave comments, you need to log in
If git is used, then it should be used.
git pull on the server and the new version is in place.
Just make sure that .git is not available to Apache, otherwise it will break.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question