From 3df973d43f882ec8c7b6a027bd0f9eed72d33f8e Mon Sep 17 00:00:00 2001 From: Vitalij Vascenko Date: Wed, 29 Jan 2025 13:37:58 +0100 Subject: [PATCH] ci: Update upload destination --- .github/workflows/deploy-widgetbook-azure.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-widgetbook-azure.yml b/.github/workflows/deploy-widgetbook-azure.yml index f49e1d29..bf959450 100644 --- a/.github/workflows/deploy-widgetbook-azure.yml +++ b/.github/workflows/deploy-widgetbook-azure.yml @@ -45,8 +45,14 @@ jobs: inlineScript: | az storage blob upload --overwrite true --container-name mews-ui-widgetbook --file optimus_widgetbook/build/web/manifest.json --account-name ${{ secrets.AZURE_ACCOUNT_NAME }} --auth-mode login - - name: Upload to blob storage release folder + - name: Upload index.html to the release folder uses: azure/CLI@v2 with: inlineScript: | - az storage blob upload-batch --overwrite true --destination mews-ui-widgetbook/release --source optimus_widgetbook/build/web --account-name ${{ secrets.AZURE_ACCOUNT_NAME }} --auth-mode login + az storage blob upload --overwrite true --container-name mews-ui-widgetbook --file optimus_widgetbook/build/web/index.html --account-name ${{ secrets.AZURE_ACCOUNT_NAME }} --auth-mode login + + - name: Upload assets to the app folder + uses: azure/CLI@v2 + with: + inlineScript: | + az storage blob upload-batch --overwrite true --destination mews-ui-widgetbook/release/app --source optimus_widgetbook/build/web --account-name ${{ secrets.AZURE_ACCOUNT_NAME }} --auth-mode login --pattern "!(manifest.json|index.html)"