diff --git a/.github/workflows/deploy-eu-qa-web.yml b/.github/workflows/deploy-eu-qa-web.yml index dfe7198b58..4c44188ece 100644 --- a/.github/workflows/deploy-eu-qa-web.yml +++ b/.github/workflows/deploy-eu-qa-web.yml @@ -58,3 +58,18 @@ jobs: --connection-string "${{ steps.retrieve-secrets.outputs.sa-bitwarden-web-vault-dev-key-temp }}" \ --overwrite \ --no-progress + + notify: + name: Notify Slack with result + runs-on: ubuntu-22.04 + if: always() + needs: azure-deploy + steps: + - uses: bitwarden/gh-actions/report-deployment-status-to-slack@master + with: + project: Web + environment: EU QA Cloud + tag: ${{ github.event.inputs.tag }} + slack-channel: team-eng-qa-devops + failure: ${{ needs.azure-deploy.result == 'failure' }} + AZURE_KV_CI_SERVICE_PRINCIPAL: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }} diff --git a/.github/workflows/deploy-non-prod-web.yml b/.github/workflows/deploy-non-prod-web.yml index 4c9f496fc8..316a0a6fc4 100644 --- a/.github/workflows/deploy-non-prod-web.yml +++ b/.github/workflows/deploy-non-prod-web.yml @@ -170,3 +170,20 @@ jobs: environment-url: ${{ env._ENVIRONMENT_URL }} state: 'failure' deployment-id: ${{ steps.deployment.outputs.deployment_id }} + + notify: + name: Notify Slack with result + runs-on: ubuntu-22.04 + if: always() + needs: + - cfpages-deploy + - setup + steps: + - uses: bitwarden/gh-actions/report-deployment-status-to-slack@master + with: + project: Web + environment: US QA Cloud + tag: ${{ needs.setup.outputs.environment-branch }} + slack-channel: team-eng-qa-devops + failure: ${{ needs.cfpages-deploy.result == 'failure' }} + AZURE_KV_CI_SERVICE_PRINCIPAL: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }}