What is the best practice for deploying applications to a VPS? I have found resources for git hooks, but those seem to focus on static websites. I would love to be able to run "git push prod master" and use git/scripts to automate building and deployment.
Do you have any good resources or recommendations for doing this?
(Note, I am the Dokku maintainer)