Skip to content

Commit

Permalink
ci: Update upload destination
Browse files Browse the repository at this point in the history
  • Loading branch information
witwash committed Jan 29, 2025
1 parent f2da817 commit 3df973d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/deploy-widgetbook-azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)"

0 comments on commit 3df973d

Please sign in to comment.