Blogdown on Rstudio Connect

Connect can host the final, rendered HTML of a blogdown site. (At this time it is not possible to publish the Rmd and have Connect render the site).

To do so, follow these steps (it is a narrow path to success that I've messed up a few times):

  1. Make sure you are in a RStudio project dedicated to the blog.
  2. Add relativeURLS=true to config.toml
  3. Develop as normal using blogdown::serve_site()
  4. When you're ready to deploy, use the Build Pane's Build Website command.

  1. Click Publish from the built preview, and select "Publish finished website only"

7 Likes