From 25a6805fe10e376e4e2c1bc76aea3ef0239a1ee9 Mon Sep 17 00:00:00 2001 From: Nico Jansen Date: Thu, 21 Mar 2024 12:23:52 +0100 Subject: [PATCH] chore: deploy seed data (#27) --- .github/workflows/deploy.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 45af77d..9f6e67b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -53,6 +53,11 @@ jobs: name: node-app - name: '💤 Unzip artifact' run: unzip release.zip + - name: '🙌 Prepare' + run: az storage file download --share-name import --path survey.csv --account-name $AZURE_STORAGE_ACCOUNT --account-key $AZURE_STORAGE_KEY --dest import/survey.csv + env: + AZURE_STORAGE_ACCOUNT: ${{ secrets.AZURE_STORAGE_ACCOUNT }} + AZURE_STORAGE_KEY: ${{ secrets.AZURE_STORAGE_KEY }} - name: '🚀 Deploy' id: deploy-to-webapp uses: azure/webapps-deploy@v2