I have project in php and I have to automate things.Currently,I have to upload a files manually to the cpanel via FTP or something else.Now,I have to do following:
case 1 : Create project into git repo let's call it - MasterProject (Main branch master)
case 2 : Create another branch in git call it - BetaProject
Case 3 : Cpanle www.mydomain.com is my website.I have live site currently here.
When I have to change i have to change in BetaProject Branch and after that I have to merge it with main branch (i.e. master),this means master is runnable project ever.When I merge Beta branch to master its automatically reflect into the website domain (i.e. www.mydomain.com). How can I achieve this?