Skip to content

baseline-daily-forecasts #430

baseline-daily-forecasts

baseline-daily-forecasts #430

# 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 20 * * *'
workflow_dispatch:
name: baseline-daily-forecasts
jobs:
terrestrial:
runs-on: ubuntu-latest
container: eco4cast/rocker-neon4cast:latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- uses: actions/checkout@v4
- name: Generate forecasts
shell: Rscript {0}
run: |
source("baseline_models/run_terrestrial_baselines.R")
aquatics:
runs-on: ubuntu-latest
container: eco4cast/rocker-neon4cast:latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- uses: actions/checkout@v3
- name: Generate forecasts
shell: Rscript {0}
run: |
source("baseline_models/run_aquatics_baselines.R")
phenology:
runs-on: ubuntu-latest
container: eco4cast/rocker-neon4cast:latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- uses: actions/checkout@v3
- name: Generate forecasts
shell: Rscript {0}
run: |
source("baseline_models/run_phenology_baselines.R")
- name: Healthcheck
run: |
curl -m 10 --retry 5 https://hc-ping.com/5e8257df-e494-4946-8aee-1f78eba0d5b7