This workflow renders some Rmarkdown via its (custom) site generator and deploys the result. Suitable for:
Blogdown websites (experimental)
website( name = "Render and Deploy RMarkdown Website", deploy = list(ghpages()), on = c("push", "pull_request") )
name |
|
---|---|
deploy |
|
on |
|
rmarkdown::render_site()
returns the directory to which outputs have been rendered.
This workflow saves that directory in the environment variable DEPLOY_PATH
, which is the default expected by ghpages()
and other deployment methods.