From c9bec3184b337ff3b92bcdbaadd504657380104c Mon Sep 17 00:00:00 2001 From: Philippine Louail <127301965+philouail@users.noreply.github.com> Date: Thu, 10 Oct 2024 17:49:29 +0200 Subject: [PATCH] Update build_deploy.yaml --- .github/workflows/build_deploy.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_deploy.yaml b/.github/workflows/build_deploy.yaml index 630818a..9df9092 100644 --- a/.github/workflows/build_deploy.yaml +++ b/.github/workflows/build_deploy.yaml @@ -32,14 +32,10 @@ jobs: - uses: r-lib/actions/setup-tinytex@v2 - - name: Install pkgdown - if: github.ref == 'refs/heads/main' + - name: Build site run: | install.packages('pkgdown') - shell: Rscript {0} - - - name: Build site - run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE) + pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE) shell: Rscript {0} - name: Deploy to GitHub pages 🚀