I have already tried searching the DigitalOcean documentation and I could not find any information in the existing documentation to my question.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello,
You could follow the steps here on how to deploy a Rails app with Git hooks:
https://www.digitalocean.com/community/tutorials/how-to-deploy-a-rails-app-with-git-hooks-on-ubuntu-14-04
Hope that this helps! Regards, Bobby