From 2e639db181779b1fb98450c95fce787e70ac1198 Mon Sep 17 00:00:00 2001 From: Adam Fiksen <2607336+fiksen99@users.noreply.github.com> Date: Tue, 14 Apr 2020 19:44:16 -0700 Subject: [PATCH] Create deployment actions for results data --- .github/workflows/public-data-deploy.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/public-data-deploy.yml 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