Skip to content

seasonal_forecast_download #474

seasonal_forecast_download

seasonal_forecast_download #474

# 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: seasonal_forecast_download
jobs:
seasonal:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
OSN_KEY: ${{ secrets.OSN_KEY }}
OSN_SECRET: ${{ secrets.OSN_SECRET }}
container: rqthomas/vera-rocker:latest
steps:
- uses: actions/checkout@v4
- name: Download
shell: Rscript {0}
run: |
source("drivers/seasonal.R")
- name: Healthcheck
run: |
sudo apt-get update
sudo apt-get install -y curl
curl -m 10 --retry 5 https://hc-ping.com/abe344f0-749f-4a00-aab6-0f3c67d322e2