Bump fonttools from 4.42.1 to 4.43.0 in /.devcontainer #20
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
on: push | |
name: Reproducibility | |
jobs: | |
render: | |
name: Render Assignment | |
runs-on: self-hosted | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Package Dependencies | |
shell: Rscript {0} | |
run: |- | |
install.packages("remotes") | |
remotes::install_local(".") | |
- name: Render | |
shell: Rscript {0} | |
run: |- | |
lapply(fs::dir_ls('assignment', glob='*.Rmd', recurse=TRUE), rmarkdown::render, envir = globalenv()) | |
- name: Commit results | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Actions" | |
git add --all -- ':!assignment/*.html' | |
git commit -m 'Re-build Rmd' || echo "No changes to commit" | |
git push origin || echo "No changes to commit" | |