Follow this post to get more detailed workflow:
Blog post: Document building & versioning with TeX document, Git, Continuous Integration & Dropbox
Travis CI and deployment service to build PDF from LaTeX document.
https://harshjv.com/blog/setup-latex-pdf-build-using-travis-ci/
Follow this post to get more detailed workflow:
Blog post: Document building & versioning with TeX document, Git, Continuous Integration & Dropbox