diff --git a/.github/workflows/deploy-widgetbook-azure.yml b/.github/workflows/deploy-widgetbook-azure.yml index c66723c9..f6d10f8a 100644 --- a/.github/workflows/deploy-widgetbook-azure.yml +++ b/.github/workflows/deploy-widgetbook-azure.yml @@ -51,8 +51,13 @@ jobs: inlineScript: | az storage blob upload --overwrite true --container-name mews-ui-widgetbook --file optimus_widgetbook/build/web/index.html --name release/index.html --account-name ${{ secrets.AZURE_ACCOUNT_NAME }} --auth-mode login + - name: Remove uploaded files before the batch upload + run: | + rm optimus_widgetbook/build/web/manifest.json + rm optimus_widgetbook/build/web/index.html + - 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)" + 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