Created
April 20, 2016 19:13
-
-
Save eclarke/387b853982a1527917c852c8ffe4c92e to your computer and use it in GitHub Desktop.
Builds docs, html site, and pushes to github
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docs: | |
Rscript -e "devtools::document(roclets=c('rd', 'collate', 'namespace', 'vignette'))" | |
gh-pages: | |
git checkout gh-pages | |
git merge master -X theirs -m "merge master" | |
site:docs gh-pages | |
Rscript -e "staticdocs::build_site(site_path='.', launch=FALSE)" | |
git commit -am 'updated docs' | |
git checkout master | |
update: site | |
git push | |
git checkout gh-pages | |
git push | |
git checkout master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment