automate pkgdown::build_site by running it on Travis and deploying to gh-pages branch
use_autopkgdown(repo = NULL, org = "KWB-R", set_githubuser = TRUE, git_exe = path_to_git(), dest_dir = tempdir(), execute = TRUE, dbg = TRUE, ...)
repo | name of existing Github repository (default: NULL) |
---|---|
org | repo owner (default: "KWB-R") |
set_githubuser | should the Github user be set before executing the branch creation (default: TRUE). In this case set_github_user() is run |
git_exe | path to GIT executable (default: kwb.pkgbuild:::path_to_git()), only required on "windows". On all other platforms it is assumed that "git" is sufficient! |
dest_dir | directory where the the repo should be checked out (default: tempdir()) |
execute | should a batch file be run? |
dbg | print debug messages (default: TRUE) |
... | additional arguments passed to set_github_user |
workflow required for automating pkgdown::build_site() on Travis