Skip to content

Commit

Permalink
update render readme
Browse files Browse the repository at this point in the history
  • Loading branch information
aghaynes committed Feb 14, 2025
1 parent cb74d58 commit b685c03
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/render-readme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,14 @@ jobs:
git push origin || echo "No changes to commit"
- name: Install pkgdown
run: Rscript -e 'install.packages("pkgdown", type = "binary")'
- name: Deploy package
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'
- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/[email protected]
with:
clean: false
branch: gh-pages
folder: docs

0 comments on commit b685c03

Please sign in to comment.