Skip to content

process-submissions #1302

process-submissions

process-submissions #1302

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 */2 * * *'
workflow_dispatch:
name: process-submissions
jobs:
submissions:
runs-on: self-hosted #ubuntu-latest
timeout-minutes: 14400
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
AWS_ACCESS_KEY_SUBMISSIONS: ${{ secrets.AWS_ACCESS_KEY_SUBMISSIONS }}
AWS_SECRET_ACCESS_KEY_SUBMISSIONS: ${{ secrets.AWS_SECRET_ACCESS_KEY_SUBMISSIONS }}
OSN_KEY: ${{ secrets.OSN_KEY }}
OSN_SECRET: ${{ secrets.OSN_SECRET }}
#container: eco4cast/rocker-neon4cast:latest
steps:
- uses: actions/checkout@v4
- name: Process submissions
shell: Rscript {0}
run: |
#devtools::install_deps(upgrade="never")
remotes::install_github("eco4cast/score4cast")
source("submission_processing/process_submissions.R")