Skip to content

Commit

Permalink
ci: Update exclude pattern (#738)
Browse files Browse the repository at this point in the history
  • Loading branch information
witwash authored Jan 29, 2025
1 parent d2bd42b commit dd6eff8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/deploy-widgetbook-azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit dd6eff8

Please sign in to comment.