From b16d3fb4debd4e4bdd6a6319667ba7cea55b56be Mon Sep 17 00:00:00 2001 From: Christopher Prener Date: Sat, 30 May 2026 23:04:07 -0700 Subject: [PATCH] fix: pass explicit dest_dir to pkgdown to avoid docs/ conflict build_site_github_pages() checks docs/ by default even when _pkgdown.yml sets destination: _site. Passing dest_dir explicitly prevents the check_dest_is_pkgdown() error without touching the governance docs/ directory. Closes #74 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/pkgdown.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pkgdown.yml b/.github/workflows/pkgdown.yml index fa5a033..992d69d 100644 --- a/.github/workflows/pkgdown.yml +++ b/.github/workflows/pkgdown.yml @@ -29,7 +29,7 @@ jobs: needs: website - name: Build site - run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE) + run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE, dest_dir = "_site") shell: Rscript {0} - name: Deploy to GitHub pages 🚀