Publish a website to RStudio Connect
publish_site(
site_dir = ".",
site_name = NULL,
method = c("rsconnect"),
server = NULL,
account = NULL,
render = TRUE,
launch_browser = interactive()
)
Directory containing website. Defaults to current working directory.
Name for the site (names must be unique within an account). Defaults to the `name` provided by the site generator (or to the name of the site_dir if there is no `name` specified).
Publishing method (currently only "rsconnect" is available)
Server name. Required only if you use the same account name on multiple servers.
Account to deploy application to. This parameter is only required for the initial deployment of an application when there are multiple accounts configured on the system.
`TRUE` to render the site locally before publishing.
If `TRUE`, the system's default web browser will be launched automatically after the site is deployed. Defaults to `TRUE` in interactive sessions only.