diff --git a/.github/workflows/public-data-deploy.yml b/.github/workflows/public-data-deploy.yml new file mode 100644 index 0000000..f74dd55 --- /dev/null +++ b/.github/workflows/public-data-deploy.yml @@ -0,0 +1,22 @@ +on: + push: + branches: + - master + +jobs: + build-and-deploy: + name: Deploy + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Azure Blob Storage Upload + uses: bacongobbler/azure-blob-storage-upload@v1.0.0 + with: + # The name of the directory you want to upload + source_dir: results + # The name of the storage account container these assets will be uploaded to + container_name: msfticlblock + # The connection string for the storage account + connection_string: ${{ secrets.BlobStorageConnectionTokenPublic }} + # extra arguments that can be passed to `az storage blob upload-batch`. Useful for passing flags like `--pattern` or `--destination-path` + extra_args: -d covidmodels --pattern *.csv