hubverse-org / hubverse-actions

GitHub Actions for common hubverse CI tasks
MIT License
0 stars 0 forks source link

add first pass of action to sync hubverse data to cloud backend #10

Closed bsweger closed 7 months ago

bsweger commented 7 months ago

Cloud-enabled hubs will need a github action that syncs data in the following hub folders to cloud storage (as specified in the hub's admin config):

Here is an example that we've been testing with: https://github.com/Infectious-Disease-Modeling-Hubs/hubverse-cloud/blob/main/.github/workflows/publish_to_s3.yaml

bsweger commented 7 months ago

Got something working in the hubverse-cloud repo: https://github.com/Infectious-Disease-Modeling-Hubs/hubverse-cloud/blob/main/.github/workflows/publish_to_s3.yaml

Will PR this to the hubverse-actions repo.

The action is safe for adding to hubs that don't have any cloud config set up in admin.json. If it doesn't detect the cloud config, it will skip the steps that sync data to S3.