-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update nightly-readme-build.yml (#32)
- Loading branch information
Showing
1 changed file
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |