Skip to content

Commit

Permalink
Run full pkgdown::build_site twice.
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-ebs-ext committed Feb 6, 2025
1 parent 44d18f4 commit c198123
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c198123

Please sign in to comment.