ci_build_markdown: (INTERNAL) Build and deploy the site with continous...

Description Usage Arguments Value Note

View source: R/ci_build_markdown.R

Description

(INTERNAL) Build and deploy the site with continous integration

Usage

1
2
3
4
5
6
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.


zkamvar/sandpaper documentation built on Nov. 25, 2021, 1:16 p.m.