diff --git a/.github/workflows/scoring.yaml b/.github/workflows/scoring.yaml deleted file mode 100644 index 765d56a80b..0000000000 --- a/.github/workflows/scoring.yaml +++ /dev/null @@ -1,38 +0,0 @@ -# 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 0 */3 * *' - workflow_dispatch: - -name: scoring - -jobs: - docker: - #runs-on: ubuntu-latest - runs-on: self-hosted - timeout-minutes: 1440 - env: - GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - OSN_KEY: ${{ secrets.OSN_KEY }} - OSN_SECRET: ${{ secrets.OSN_SECRET }} - #container: eco4cast/rocker-neon4cast:latest - steps: - - uses: actions/checkout@v3 - with: - ref: prod - - - name: Install - shell: Rscript {0} - run: | - remotes::install_deps(".", dep=TRUE) - - - name: Generate scores - shell: Rscript {0} - run: | - source("scoring/scoring.R") - - - name: Update inventory - shell: Rscript {0} - run: | - source("scoring/build_score_inventory.R") diff --git a/.github/workflows/submissions.yaml b/.github/workflows/submissions.yaml deleted file mode 100644 index 659484af44..0000000000 --- a/.github/workflows/submissions.yaml +++ /dev/null @@ -1,29 +0,0 @@ -# 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 0 */3 * *' - workflow_dispatch: - - -name: process-submissions - -jobs: - docker: - runs-on: ubuntu-latest - 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@v3 - with: - ref: prod - - - name: Process submissions - shell: Rscript {0} - run: | - source("submission_processing/process_submissions.R")