Building our site on TravisCI instead of doing so locally would ensure our site is always up to date, and reduce how many "non-package" files we need to commit in git. Many other packages build their sites this way, and pkgdown even has a function specifically designed for this.
Motivation
Building our site on TravisCI instead of doing so locally would ensure our site is always up to date, and reduce how many "non-package" files we need to commit in git. Many other packages build their sites this way, and
pkgdown
even has a function specifically designed for this.References
https://pkgdown.r-lib.org/reference/deploy_site_github.html https://docs.travis-ci.com/user/deployment/pages/ https://www.datacamp.com/community/tutorials/cd-package-docs-pkgdown-travis