mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
DEVOPS-1683 REFACTOR: deploy-non-prod-web.yml with tag input
This commit is contained in:
13
.github/workflows/deploy-non-prod-web.yml
vendored
13
.github/workflows/deploy-non-prod-web.yml
vendored
@@ -13,6 +13,11 @@ on:
|
|||||||
- QA
|
- QA
|
||||||
- EUQA
|
- EUQA
|
||||||
- USPROD
|
- USPROD
|
||||||
|
tag:
|
||||||
|
description: "Branch name to deploy (examples: 'master', 'feature/sm')"
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
default: master
|
||||||
|
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
@@ -235,14 +240,14 @@ jobs:
|
|||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
if: always()
|
if: always()
|
||||||
needs:
|
needs:
|
||||||
- cfpages-deploy
|
- azure-deploy
|
||||||
- setup
|
- setup
|
||||||
steps:
|
steps:
|
||||||
- uses: bitwarden/gh-actions/report-deployment-status-to-slack@main
|
- uses: bitwarden/gh-actions/report-deployment-status-to-slack@main
|
||||||
with:
|
with:
|
||||||
project: Web
|
project: Web
|
||||||
environment: US ${{ inputs.environment }} Cloud
|
environment: ${{ inputs.environment }} Cloud
|
||||||
tag: ${{ github.ref_name }}
|
tag: ${{ github.event.inputs.tag }}
|
||||||
slack-channel: team-eng-qa-devops
|
slack-channel: team-eng-qa-devops
|
||||||
failure: ${{ needs.cfpages-deploy.result == 'failure' }}
|
failure: ${{ needs.azure-deploy.result == 'failure' }}
|
||||||
AZURE_KV_CI_SERVICE_PRINCIPAL: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }}
|
AZURE_KV_CI_SERVICE_PRINCIPAL: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }}
|
||||||
|
|||||||
Reference in New Issue
Block a user