The GitHub action created would deploy a pkgdown site of your package
on the gh-pages branch.
Usage
gha_pkgdown_branch(
pkg = ".",
overwrite = TRUE,
platform = "macOS",
version = "latest"
)
Arguments
- pkg
Path to a (subdirectory of an) R package.
- overwrite
Overwrite the action if it was already present.
- platform
Platform to use for deploying the package. See Details
- version
Version of the platform. See Details.
Value
A GitHub Action on <pkg>/.github/workflows.
Examples
if (FALSE) { # \dontrun{
# With Ubuntu 20.04
gha_pkgdown_branch(platform = "ubuntu", version = "20.04")
} # }