diff --git a/.github/workflows/pkgdown.yml b/.github/workflows/pkgdown.yml index a82f967..d72260d 100644 --- a/.github/workflows/pkgdown.yml +++ b/.github/workflows/pkgdown.yml @@ -99,9 +99,7 @@ jobs: # Render site render_site <- function(){ if(file.exists('vignettes/qc.Rmd')){ - pkgdown::init_site() - devtools::load_all() # try to mimic the local installation that pkgdown::build_site does - pkgdown::build_article(name = 'qc') + pkgdown::build_site(new_process = FALSE) file.rename(from = 'vignettes/qc.Rmd', to = 'vignettes/_qc.Rmd') # This last step is not necessary now but, if we ever want to combine actions, # it's better to restore the original name of the file.