| deploy_to_branch {pkgdown} | R Documentation | 
Build and deploy a site locally
Description
Assumes that you're in a git clone of the project, and the package is
already installed. Use usethis::use_pkgdown_github_pages() to automate
this process using GitHub actions.
Usage
deploy_to_branch(
  pkg = ".",
  commit_message = construct_commit_message(pkg),
  clean = TRUE,
  branch = "gh-pages",
  remote = "origin",
  github_pages = (branch == "gh-pages"),
  ...,
  subdir = NULL
)
Arguments
pkg | 
 Path to package.  | 
commit_message | 
 The commit message to be used for the commit.  | 
clean | 
 Clean all files from old site.  | 
branch | 
 The git branch to deploy to  | 
remote | 
 The git remote to deploy to  | 
github_pages | 
 Is this a GitHub pages deploy. If   | 
... | 
 Additional arguments passed to   | 
subdir | 
 The sub-directory where the site should be built on the branch.
This argument can be used to support a number of site configurations.
For example, you could build version-specific documentation by setting
  |