mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
DEVOPS-1581 REFACTOR: Azure deployment workflow to use
environment-specific artifact
This commit is contained in:
11
.github/workflows/deploy-non-prod-web.yml
vendored
11
.github/workflows/deploy-non-prod-web.yml
vendored
@@ -172,10 +172,13 @@ jobs:
|
|||||||
deployment-id: ${{ steps.deployment.outputs.deployment_id }}
|
deployment-id: ${{ steps.deployment.outputs.deployment_id }}
|
||||||
|
|
||||||
azure-deploy:
|
azure-deploy:
|
||||||
name: Deploy to Azure
|
name: Deploy Web Vault to ${{ inputs.environment }}
|
||||||
|
needs:
|
||||||
|
- setup
|
||||||
|
- artifact-check
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
env:
|
env:
|
||||||
_WEB_ARTIFACT: "web-*-cloud-euqa.zip"
|
_ENVIRONMENT_ARTIFACT: ${{ needs.setup.outputs.environment-artifact }}
|
||||||
steps:
|
steps:
|
||||||
- name: Login to Azure - EU Subscription
|
- name: Login to Azure - EU Subscription
|
||||||
uses: Azure/login@92a5484dfaf04ca78a94597f4f19fea633851fa2 # v1.4.7
|
uses: Azure/login@92a5484dfaf04ca78a94597f4f19fea633851fa2 # v1.4.7
|
||||||
@@ -196,11 +199,11 @@ jobs:
|
|||||||
path: apps/web
|
path: apps/web
|
||||||
workflow_conclusion: success
|
workflow_conclusion: success
|
||||||
branch: ${{ github.event.inputs.tag }}
|
branch: ${{ github.event.inputs.tag }}
|
||||||
artifacts: ${{ env._WEB_ARTIFACT }}
|
artifacts: ${{ env._ENVIRONMENT_ARTIFACT }}
|
||||||
|
|
||||||
- name: Unzip build asset
|
- name: Unzip build asset
|
||||||
working-directory: apps/web
|
working-directory: apps/web
|
||||||
run: unzip ${{ env._WEB_ARTIFACT }}
|
run: unzip ${{ env._ENVIRONMENT_ARTIFACT }}
|
||||||
|
|
||||||
- name: Empty container in Storage Account
|
- name: Empty container in Storage Account
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user