Skip to content

gefs-download

gefs-download #522

Workflow file for this run

# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
schedule:
- cron: '0 4 * * *'
workflow_dispatch:
name: gefs-download
jobs:
docker:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
OSN_KEY: ${{ secrets.OSN_KEY }}
OSN_SECRET: ${{ secrets.OSN_SECRET }}
container: rocker/geospatial:latest
steps:
- uses: actions/checkout@v3
- name: Install
shell: Rscript {0}
run: |
remotes::install_github("eco4cast/gefs4cast")
install.packages(c("bench","decor"))
- name: Update GEFS
shell: Rscript {0}
run: |
source("drivers/gefs_download.R")