| publish_website | R Documentation | 
Publish a website to RStudio Connect
publish_website(
  site_dir = ".",
  site_name = NULL,
  method = c("rsconnect"),
  server = NULL,
  account = NULL,
  render = TRUE,
  launch_browser = interactive()
)
| site_dir | Directory containing website. Defaults to current working directory. | 
| site_name | Name for the site (names must be unique within an account). Defaults
to the  | 
| method | Publishing method (currently only "rsconnect" is available) | 
| account, server | Uniquely identify a remote server with either your
user  Use  | 
| render | 
 | 
| launch_browser | If  | 
## Not run: 
library(distill)
publish_website()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.