Skip to content

Commit

Permalink
Merge pull request #54 from nextstrain/fix-automation-hash
Browse files Browse the repository at this point in the history
Fix automation hash
  • Loading branch information
joverlee521 authored Apr 8, 2024
2 parents 4bebe32 + f615170 commit 9892009
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ingest-to-phylogenetic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ jobs:
steps:
- name: Get sha256sum
id: get-sha256sum
env:
AWS_DEFAULT_REGION: ${{ vars.AWS_DEFAULT_REGION }}
run: |
s3_urls=(
"s3://nextstrain-data/files/workflows/zika/metadata.tsv.zst"
Expand All @@ -96,7 +98,7 @@ jobs:
key="${s3path#*/}"
s3_hash="$(aws s3api head-object --no-sign-request --bucket "$bucket" --key "$key" --query Metadata.sha256sum --output text 2>/dev/null || echo "$no_hash")"
echo "${s3_hash}" >> ingest-output-sha256sum
echo "${s3_hash}" | tee -a ingest-output-sha256sum
done
- name: Check cache
Expand Down

0 comments on commit 9892009

Please sign in to comment.