Continuous integration tools such as Travis CI, allow real-time compilation of the final output PDF without local installation of dependencies.
.travis.yml and requirements.txt defines the system for compilation and lists dependencies and calls deploy.sh, which installs the preferred version of the doorstop library and runs doorstop_sync.sh which updates the datebase and generates LaTeX and Markdown outputs them to a new branch called gh-pages, which you can configure to publish publically or not in your repository settings.
- create Travis CI account by configuring app: https://github.com/apps/travis-ci
- link your requirements repository to account
- add github personal access token, named
github_token
to repo setup on travis CI as shown in screenshot below
For security, I created a new "machine" user , made it a collaborator on the repo, and used the machine user's token on Travis instead of my primary user's token. this isn't required.