Skip to content

Run models

Run models #40

Workflow file for this run

name: Run models
on:
workflow_dispatch:
inputs:
dockerImage:
description: "Specific container image to use for build (will override the default of `nextstrain build`)"
required: false
type: string
jobs:
run_models:
permissions:
id-token: write
uses: nextstrain/.github/.github/workflows/pathogen-repo-build.yaml@master
secrets: inherit
with:
runtime: aws-batch
run: |
nextstrain build \
--aws-batch \
--detach \
--no-download \
--cpus 16 \
--memory 32GiB \
--env AWS_DEFAULT_REGION \
--env GITHUB_RUN_ID \
. \
--configfile config/defaults.yaml config/optional.yaml \
--keep-going
env: |
NEXTSTRAIN_DOCKER_IMAGE: ${{ inputs.dockerImage }}
GITHUB_RUN_ID: ${{ github.run_id }}