I setup automatic deployment -- when I push from my local to github repo then I run webhook https://prnt.sc/wgmqhr that has one command:
shell_exec( "cd /home/path../ && git reset HEAD && git pull origin" );
In cpanel also I have created git repo https://prnt.sc/wgmvsw that I cloned from github and in my local I clone from github
until this point it works fine, but when I do some changes in my site (e.g install new module) then git push does not work anymore. I have to pull changes to my local files or github repo, and I don't know how.
shell_exec( "cd /home/path../ && git reset HEAD && git pull origin" );
In cpanel also I have created git repo https://prnt.sc/wgmvsw that I cloned from github and in my local I clone from github
until this point it works fine, but when I do some changes in my site (e.g install new module) then git push does not work anymore. I have to pull changes to my local files or github repo, and I don't know how.