Skip to content

Commit

Permalink
add debug controls
Browse files Browse the repository at this point in the history
  • Loading branch information
witwash committed Jan 27, 2025
1 parent 65505fd commit 6a86118
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/clean-azure-blob.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,20 @@ jobs:
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: List blobs before cleanup
uses: azure/CLI@v2
with:
inlineScript: |
az storage blob list --account-name ${{ secrets.AZURE_ACCOUNT_NAME }} --container-name mews-ui-widgetbook --output table
- name: Clean Widgetbook blob folder
uses: azure/CLI@v2
with:
inlineScript: |
az storage blob delete-batch --source mews-ui-widgetbook --account-name ${{ secrets.AZURE_ACCOUNT_NAME }} --auth-mode login --pattern "*" --dryrun
- name: List blobs after cleanup
uses: azure/CLI@v2
with:
inlineScript: |
az storage blob list --account-name ${{ secrets.AZURE_ACCOUNT_NAME }} --container-name mews-ui-widgetbook --output table

0 comments on commit 6a86118

Please sign in to comment.