Update Multiple Laterals Data #193
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: | |
schedule: | |
# runs every day at 7:00 AM UTC = 3AM ET in jan, feb, aug-dec | |
- cron: '0 7 * 1,2,8-12 *' | |
workflow_dispatch: | |
name: Update Multiple Laterals Data | |
jobs: | |
update: | |
name: Update Multiple Laterals Data | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_PAT: ${{ secrets.NFLVERSE_GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: r-lib/actions/setup-r@v2 | |
- uses: r-lib/actions/setup-r-dependencies@v2 | |
with: | |
cache-version: 1 | |
extra-packages: | | |
nflverse/nflreadr, | |
nflverse/nflfastR, | |
nflverse/gsisdecoder, | |
nflverse/nflverse-data | |
- name: Run multiple laterals update | |
run: Rscript -e 'source("R/update_multiple_laterals.R")' |