mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 22:03:36 +00:00
Add step to empty container in Storage Container (#5685)
This commit is contained in:
11
.github/workflows/deploy-eu-prod-web.yml
vendored
11
.github/workflows/deploy-eu-prod-web.yml
vendored
@@ -42,12 +42,19 @@ jobs:
|
|||||||
working-directory: apps/web
|
working-directory: apps/web
|
||||||
run: unzip ${{ env._WEB_ARTIFACT }}
|
run: unzip ${{ env._WEB_ARTIFACT }}
|
||||||
|
|
||||||
|
- name: Empty container in Storage Account
|
||||||
|
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
|
- name: Deploy to Azure Storage Account
|
||||||
working-directory: apps/web
|
working-directory: apps/web
|
||||||
run: |
|
run: |
|
||||||
az storage blob upload-batch --source "./build" \
|
az storage blob upload-batch \
|
||||||
|
--source "./build" \
|
||||||
--destination '$web' \
|
--destination '$web' \
|
||||||
--account-name "bwwebvault1itgprod" \
|
|
||||||
--connection-string "${{ steps.retrieve-secrets.outputs.sa-bitwarden-web-vault-dev-key-temp }}" \
|
--connection-string "${{ steps.retrieve-secrets.outputs.sa-bitwarden-web-vault-dev-key-temp }}" \
|
||||||
--overwrite \
|
--overwrite \
|
||||||
--no-progress
|
--no-progress
|
||||||
|
|||||||
Reference in New Issue
Block a user