Skip to content

Commit

Permalink
Merge pull request #7 from reichlab/elr/snapshot_nhsn
Browse files Browse the repository at this point in the history
fix indentation
  • Loading branch information
elray1 authored Dec 10, 2024
2 parents cba1c90 + 27f6071 commit 3769352
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/snapshot-nhsn-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ jobs:
env:
FILE_NAME: ${{ env.FILE_NAME }}

- name: Configure AWS credentials
# request credentials to assume the hub's AWS role via OpenID Connect
if: env.CLOUD_ENABLED == 'true'
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::${{ env.AWS_ACCOUNT }}:role/iddata-github-action
aws-region: us-east-1
- name: Configure AWS credentials
# request credentials to assume the hub's AWS role via OpenID Connect
if: env.CLOUD_ENABLED == 'true'
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::${{ env.AWS_ACCOUNT }}:role/iddata-github-action
aws-region: us-east-1

- name: Copy files to cloud storage
run: |
aws s3 cp "./$FILE_NAME" "s3://infectious-disease-data/data-raw/influenza-nhsn" --dryrun
- name: Copy files to cloud storage
run: |
aws s3 cp "./$FILE_NAME" "s3://infectious-disease-data/data-raw/influenza-nhsn" --dryrun

0 comments on commit 3769352

Please sign in to comment.