Skip to content

Commit

Permalink
Update pkgdown.yaml
Browse files Browse the repository at this point in the history
Changing function order to see if build_home_index() is being overwritten but build_site_gitbhub_pages()
  • Loading branch information
LStrachan authored Dec 21, 2023
1 parent ec18e02 commit 97b1190
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down

0 comments on commit 97b1190

Please sign in to comment.