From 5ca3e2a6dc0d3fdae08196b953571bdc5e0bdc81 Mon Sep 17 00:00:00 2001 From: Lukas Wallrich Date: Tue, 13 Aug 2024 23:42:36 +0100 Subject: [PATCH] Try pkgdown adjustment --- .github/workflows/pkgdown.yaml | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 4bbce75..49094c8 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -24,21 +24,31 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 - uses: r-lib/actions/setup-pandoc@v2 - - uses: r-lib/actions/setup-r@v2 - with: - use-public-rspm: true + - name: Setup + uses: eddelbuettel/github-actions/r-ci-setup@master - - uses: r-lib/actions/setup-r-dependencies@v2 - with: - extra-packages: any::pkgdown, local::. - needs: website + - name: Bootstrap + run: ./run.sh bootstrap + + #- name: Dependencies + # run: ./run.sh install_deps + + - name: All Dependencies + run: ./run.sh install_all + + - name: Install pkgdown + run: | + R -e " + install.packages(c('pkgdown')); + " - name: Build site - run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE) + run: pkgdown::build_site_github_pages(new_process = FALSE, install = TRUE) shell: Rscript {0} - name: Deploy to GitHub pages 🚀