diff --git a/.github/workflows/push-datasets.yaml b/.github/workflows/push-datasets.yaml new file mode 100644 index 0000000..81e51fe --- /dev/null +++ b/.github/workflows/push-datasets.yaml @@ -0,0 +1,21 @@ +name: push-datasets +on: + push: + branches: + - main + +jobs: + push-dataset: + runs-on: ubuntu-latest + steps: + - name: checkout repository + uses: actions/checkout@v3 + - name: Upload datasets to s3 + uses: shallwefootball/s3-upload-action@master + id: S3 + with: + aws_key_id: ${{secrets.AWS_KEY_ID}} + aws_secret_access_key: ${{secrets.AWS_SECRET_ACCESS_KEY}} + aws_bucket: chemmatdata + source_dir: datasets + destination_dir: datasets \ No newline at end of file diff --git a/materials.json b/datasets/materials.json similarity index 100% rename from materials.json rename to datasets/materials.json diff --git a/molecules.json b/datasets/molecules.json similarity index 100% rename from molecules.json rename to datasets/molecules.json