Skip to content

Merge pull request #8 from Infectious-Disease-Modeling-Hubs/bsweger/u… #8

Merge pull request #8 from Infectious-Disease-Modeling-Hubs/bsweger/u…

Merge pull request #8 from Infectious-Disease-Modeling-Hubs/bsweger/u… #8

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