diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 78ac2b78..85ee746c 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -37,10 +37,14 @@ jobs: - name: Build site run: | - pkgdown::build_home_index() pkgdown::build_site_github_pages(new_process = TRUE, install = FALSE) shell: Rscript {0} + - name: Rewrite homepage index.html + run: | + pkgdown::build_home_index() + shell: Rscript {0} + - name: Deploy to GitHub pages 🚀 if: github.event_name != 'pull_request' uses: JamesIves/github-pages-deploy-action@v4.4.1