Skip to content

Upload data to bucket #5

Upload data to bucket

Upload data to bucket #5

Workflow file for this run

name: Upload data to bucket
on:
push:
branches: [ "main" ]
paths:
- data/**
workflow_dispatch:
jobs:
Upload:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
# Doesn't seem to support sync on .gz/.bcf/.bam files (always deletes and reuploads them)
- name: Upload
run: aws s3 sync ./data/ s3://bio-data-zoo/
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_ENDPOINT_URL: ${{ secrets.AWS_ENDPOINT_URL }}
AWS_EC2_METADATA_DISABLED: true