|
|
|
|
@ -42,12 +42,19 @@ jobs:
@@ -42,12 +42,19 @@ jobs:
|
|
|
|
|
working-directory: apps/web |
|
|
|
|
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 |
|
|
|
|
working-directory: apps/web |
|
|
|
|
run: | |
|
|
|
|
az storage blob upload-batch --source "./build" \ |
|
|
|
|
az storage blob upload-batch \ |
|
|
|
|
--source "./build" \ |
|
|
|
|
--destination '$web' \ |
|
|
|
|
--account-name "bwwebvault1itgprod" \ |
|
|
|
|
--connection-string "${{ steps.retrieve-secrets.outputs.sa-bitwarden-web-vault-dev-key-temp }}" \ |
|
|
|
|
--overwrite \ |
|
|
|
|
--no-progress |
|
|
|
|
|