Run models #48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }} |