From 55010b362152d529c88d8a2023fce27050d30839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?zxBIB=20Lech=C3=B3n=2CMiguel=20=28MED=20BDS=29=20EXTERNAL?= Date: Thu, 6 Feb 2025 19:50:10 +0100 Subject: [PATCH] Do run the pkgdown::build_site temp install in the absence of a QC report. --- .github/workflows/pkgdown.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pkgdown.yml b/.github/workflows/pkgdown.yml index 4ecc334..1f432b9 100644 --- a/.github/workflows/pkgdown.yml +++ b/.github/workflows/pkgdown.yml @@ -107,8 +107,10 @@ jobs: # it's better to restore the original name of the file. # This block is written as a function to be able to lean on `on.exit`, btw. on.exit(file.rename(from = 'vignettes/_qc.Rmd', to = 'vignettes/qc.Rmd')) + pkgdown::build_site(new_process = FALSE, install = FALSE) # `new_process` because otherwise errors go unlogged + } else { + pkgdown::build_site(new_process = FALSE) # `new_process` because otherwise errors go unlogged } - pkgdown::build_site(new_process = FALSE, install = FALSE) # `new_process` because otherwise errors go unlogged } render_site() shell: Rscript {0}