Update OTC Contract Data #889
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 | |
- cron: '0 7 * * *' | |
workflow_dispatch: | |
name: Update OTC Contract Data | |
jobs: | |
update: | |
name: update data | |
runs-on: ubuntu-latest | |
timeout-minutes: 40 | |
env: | |
GITHUB_PAT: ${{ secrets.NFLVERSE_GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: r-lib/actions/setup-r@v2 | |
- uses: r-lib/actions/setup-r-dependencies@v2 | |
with: | |
cache-version: 1 | |
extra-packages: | | |
nflverse/nflverse-data | |
nflverse/nflreadr | |
local::. | |
any::arrow | |
any::qs | |
- name: Run otc update script | |
run: Rscript -e 'source("data-raw/release_otc_contract_data.R")' |