I have a github repo, and I have a shared hosting account which runs PHP.
My goal is to clone/download the latest files on my github repo to my hosting account using PHP so it is kind of like a deploy.
My hosting account does not and can not have git installed. Also it cannot run exec or shell because it is a shared hosting account and they forbid these kind of PHP functions.
Therefore I want to ask, is there a PHP script that can clone everything from my github repo and put it on my shared hosting using github API? I googled a bit and could only find examples that actually runs "git pull" or "git clone" on the server using exec() or similar functions (which my hosting account forbids).
Any ideas appreciated, thanks!