Assumes that you're in a git clone of the project, and the package is already installed.
deploy_to_branch( pkg = ".", commit_message = construct_commit_message(pkg), branch = "gh-pages", remote = "origin", github_pages = (branch == "gh-pages"), ... )
| pkg | Path to package. |
|---|---|
| commit_message | The commit message to be used for the commit. |
| 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 |