Skip to content

Commit

Permalink
Update nightly-readme-build.yml (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhoffa authored May 7, 2024
1 parent e635fee commit 622d9a1
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/nightly-readme-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,16 @@ jobs:
run: |
Rscript -e 'pak::local_install(".")'
- name: Render README.Rmd file and Commit Results
- name: Render README.Rmd file
run: |
Rscript -e 'rmarkdown::render("README.Rmd")'
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "[email protected]"
git commit README.md -m 'Re-build Rmarkdown files' || echo "No changes to commit"
git push origin || echo "No changes to commit"
- name: Create pull request
uses: peter-evans/create-pull-request@v4
with:
commit-message: GH - Render README
title: GH - Render README
body: GH action to re-knit the README.Rmd
base: main
labels: ci/cd
branch: nightly_readme_build
delete-branch: true

0 comments on commit 622d9a1

Please sign in to comment.