зеркало из https://github.com/Azure/covid19model.git
Create deployment actions for results data
This commit is contained in:
Родитель
9843041657
Коммит
2e639db181
|
@ -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
|
Загрузка…
Ссылка в новой задаче