I need a Shell script which clones/pulls the git repo from Bitbucket via Deployment Key. So we can just add it as cron job to the cpanel account and it pulls each time from the specified branch the new data.
Pass on variables to the script:
[login to view URL] file path
git project path
branch
next parent dir to clone/pull to. for example script is in /home/~/[login to view URL] and dir to pull to is in /home/~/[login to view URL]
IMPORTANT: there will be more git repos in the user folder. Like [login to view URL] [login to view URL] ...
Hello,
I can do this job for you quickly and in the high quality. Have 8+ years experience in Linux/FreeBSD administration.
Please contact with me if you are interested in my suggestion.
Thanks.