-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #76 from nextstrain/refactor-workflow
Refactor workflow
- Loading branch information
Showing
154 changed files
with
13,814 additions
and
5,341 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Upload data from fauna to S3 | ||
|
||
# Only support manual trigger of this workflow. | ||
on: workflow_dispatch | ||
|
||
jobs: | ||
upload: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: refactor-workflow | ||
# Install Nextstrain CLI, so we can run the flu workflow. | ||
- uses: nextstrain/.github/actions/setup-nextstrain-cli@master | ||
# Run the flu workflow that downloads titers and sequences from fauna and | ||
# uploads to S3. | ||
- name: Download from fauna and upload to S3 | ||
run: | | ||
set -x | ||
nextstrain build \ | ||
--docker \ | ||
. \ | ||
-j 4 \ | ||
upload_all_titers \ | ||
upload_all_sequences \ | ||
--configfile profiles/upload.yaml | ||
env: | ||
RETHINK_HOST: ${{ secrets.RETHINK_HOST }} | ||
RETHINK_AUTH_KEY: ${{ secrets.RETHINK_AUTH_KEY }} | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} |
This file contains 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
Oops, something went wrong.