Skip to content

target-generation

target-generation #471

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 3 * * *'
workflow_dispatch:
name: target-generation
jobs:
insitu:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
AWS_ACCESS_KEY_ID: ${{ secrets.OSN_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.OSN_SECRET }}
container: rqthomas/vera-rocker:latest
steps:
- uses: actions/checkout@v4
- name: Generate targets
shell: Rscript {0}
run: |
source('targets/target_generation/insitu_targets.R')
inflow:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
AWS_ACCESS_KEY_ID: ${{ secrets.OSN_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.OSN_SECRET }}
container: rqthomas/vera-rocker:latest
steps:
- uses: actions/checkout@v4
- name: Generate targets
shell: Rscript {0}
run: |
source('targets/target_generation/inflow_targets.R')
met:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
AWS_ACCESS_KEY_ID: ${{ secrets.OSN_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.OSN_SECRET }}
container: rqthomas/vera-rocker:latest
steps:
- uses: actions/checkout@v4
- name: Generate targets
shell: Rscript {0}
run: |
source('targets/target_generation/met_targets.R')
Healthcheck:
needs: [insitu, inflow, met]
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
container: rqthomas/vera-rocker:latest
steps:
- name: Call Healthcheck
run: |
curl -m 10 --retry 5 https://hc-ping.com/251672ee-2233-4335-85b9-2133ff15c46b