Skip to content

Merge branch 'master' of https://www.github.com/fawda123/WtRegDO #21

Merge branch 'master' of https://www.github.com/fawda123/WtRegDO

Merge branch 'master' of https://www.github.com/fawda123/WtRegDO #21

Workflow file for this run

on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
name: build
jobs:
render:
name: build
runs-on: macOS-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2 # This is important to set for `git diff-tree` to work below
- uses: r-lib/actions/setup-r@v2
with:
extra-repositories: 'https://fawda123.r-universe.dev'
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rmarkdown
packages:
WtRegDO
any::devtools
- name: Render index
run: Rscript -e 'rmarkdown::render("README.Rmd")'
- name: Commit results
run: |
git config --local user.email "actions@github.com"
git config --local user.name "GitHub Actions"
git add -A
git commit -m 'Re-build Rmarkdown files' || echo "No changes to commit"
git push origin || echo "No changes to commit"