Skip to contents

(INTERNAL) Build and deploy the site with continous integration

Usage

ci_build_markdown(
  path = ".",
  branch = "md-outputs",
  remote = "origin",
  reset = FALSE
)

Arguments

path

path to the lesson

remote

the name of the git remote to which you should deploy.

md_branch

the branch name that contains the markdown outputs

site_branch

the branch name that contains the full HTML site

Value

NOTHING

Note

this function is not for interactive use. It requires git to be installed on your machine and will destroy anything you have in the site/ folder. Additionally, this will set the sandpaper.use_renv option to TRUE, which means that it will always use the renv package cache.