Skip to content

warn of behaviour change #39

warn of behaviour change

warn of behaviour change #39

Workflow file for this run

on:
workflow_dispatch:
push:
paths:
- 'README.Rmd'
jobs:
render-readme:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
- name: Compile the readme
run: |
rmarkdown::render("README.Rmd")
shell: Rscript {0}
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add README.md man/figures/
git diff-index --quiet HEAD || git commit -m "Automatic readme update"
git push origin || echo "No changes to push"