From c02d0eb75fb39c222c7f96999ae9b8af3a0997a1 Mon Sep 17 00:00:00 2001 From: Johannes Rainer Date: Fri, 11 Oct 2024 08:39:09 +0200 Subject: [PATCH] ci: build articles in GHA --- .github/workflows/build_deploy.yaml | 2 +- .github/workflows/pkgdown.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_deploy.yaml b/.github/workflows/build_deploy.yaml index a34db37..feee399 100644 --- a/.github/workflows/build_deploy.yaml +++ b/.github/workflows/build_deploy.yaml @@ -3,7 +3,7 @@ name: pkgdown on: push: branches: - - jomain + - main # on: # repository_dispatch: diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index bf8abe7..5cb9a18 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -38,6 +38,10 @@ jobs: extra-packages: any::pkgdown, local::. needs: website + - name: Build articles + run: pkgdown::build_quarto_articles(quiet = FALSE) + shell: Rscript {0} + - name: Build site run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE) shell: Rscript {0}