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 🚀