1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 00:03:56 +00:00

DEVOPS-1683 REFACTOR: Azure Storage Account Blob container sync

This commit is contained in:
Alex Urbina
2023-11-28 22:58:39 -06:00
parent c0a650460e
commit 6a0a83c082

View File

@@ -222,21 +222,13 @@ jobs:
working-directory: apps/web
run: unzip ${{ env._ENVIRONMENT_ARTIFACT }}
- name: Empty container in Storage Account
- name: Sync blobs recursively to a Storage Account Blob container
run: |
az storage blob delete-batch \
--source '$web' \
--pattern '*' \
--connection-string "${{ steps.retrieve-secrets.outputs.sa-bitwarden-web-vault-dev-key-temp }}"
- name: Deploy to Azure Storage Account
working-directory: apps/web
run: |
az storage blob upload-batch \
az storage blob sync \
--source "./build" \
--destination '$web' \
--connection-string "${{ steps.retrieve-secrets.outputs.sa-bitwarden-web-vault-dev-key-temp }}" \
--overwrite \
--delete-destination \
--no-progress
notify: