Merge pull request #8 from Infectious-Disease-Modeling-Hubs/bsweger/u… #8
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
name: Publish to S3 | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
upload: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v1 | |
with: | |
role-to-assume: arn:aws:iam::767397675902:role/hubverse-infrastructure-test-githubaction-role | |
aws-region: us-east-1 | |
- name: Copy files to S3 | |
run: | | |
aws s3 sync ./.test-data s3://hubverse-hubverse-infrastructure-test/.test-data --delete |