Create deployment actions for results data

This commit is contained in:
Adam Fiksen 2020-04-14 19:44:16 -07:00 коммит произвёл GitHub
Родитель 9843041657
Коммит 2e639db181
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 22 добавлений и 0 удалений

22
.github/workflows/public-data-deploy.yml поставляемый Normal file
Просмотреть файл

@ -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