I have a git project on my Mac. And i push my changes via ssh to a git-server ("Server B") (github or gitbucket or own should be irrelevant here).
And then there is the hosted webserver ("Server A") which shows the state of developement to the customers. From time to time i login to my webserver via ssh and type git pull to update the project before i tell the customer that there is a new version.
Is there a way to automate that? Is it possible to set something up, that always send the files to "Server A" with some kind of copy command after i do a git push
on my local computer?