Skip to content

baseline-weekly-forecasts #63

baseline-weekly-forecasts

baseline-weekly-forecasts #63

# 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 1 * * SUN"
workflow_dispatch:
name: baseline-weekly-forecasts
jobs:
ticks:
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_ticks_baselines.R")
beetles:
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_beetles_baselines.R")
- name: Healthcheck
run: |
curl -m 10 --retry 5 https://hc-ping.com/ca50fa9e-8970-4280-9be8-dfc0869147fe