Skip to content

Get author data

Get author data #44

name: Get author data
on:
workflow_dispatch:
pull_request:
branches:
- main
schedule:
- cron: '0 10 * * SAT'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: |
sudo apt-get update
sudo apt-get install -y libcurl4-openssl-dev --fix-missing
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-renv@v2
- name: Get publications
run: Rscript scripts/get_pubs.R
- name: Commit results
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git commit README.md README-files/ \
-m 'Re-build README.Rmd' || echo "No changes to commit"
git push origin || echo "No changes to commit"