diff --git a/.github/workflows/deploy-eu-qa-web.yml b/.github/workflows/deploy-eu-qa-web.yml index b647894653..9fa50f3ba3 100644 --- a/.github/workflows/deploy-eu-qa-web.yml +++ b/.github/workflows/deploy-eu-qa-web.yml @@ -11,6 +11,21 @@ on: default: master jobs: + notify-start: + name: Notify Slack with start message + runs-on: ubuntu-22.04 + if: always() + steps: + - uses: bitwarden/gh-actions/report-deployment-status-to-slack@main + with: + project: Web + environment: EU QA Cloud + tag: ${{ github.ref_name }} + slack-channel: team-eng-qa-devops + event: 'start' + url: https://github.com/bitwarden/clients/actions/runs/${{ github.run_id }} + AZURE_KV_CI_SERVICE_PRINCIPAL: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }} + azure-deploy: name: Deploy to Azure runs-on: ubuntu-22.04 @@ -71,5 +86,6 @@ jobs: environment: EU QA Cloud tag: ${{ github.event.inputs.tag }} slack-channel: team-eng-qa-devops - failure: ${{ needs.azure-deploy.result == 'failure' }} + event: ${{ needs.azure-deploy.result }} + url: https://github.com/bitwarden/devops/actions/runs/${{ github.run_id }} 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 296a77e581..2a92a4d401 100644 --- a/.github/workflows/deploy-non-prod-web.yml +++ b/.github/workflows/deploy-non-prod-web.yml @@ -57,6 +57,21 @@ jobs: echo "environment-artifact=web-*-cloud-COMMERCIAL.zip" >> $GITHUB_OUTPUT fi + notify-start: + name: Notify Slack with start message + runs-on: ubuntu-22.04 + if: always() + steps: + - uses: bitwarden/gh-actions/report-deployment-status-to-slack@main + with: + project: Web + environment: US ${{ inputs.environment }} Cloud + tag: ${{ github.ref_name }} + slack-channel: team-eng-qa-devops + event: 'start' + url: https://github.com/bitwarden/clients/actions/runs/${{ github.run_id }} + AZURE_KV_CI_SERVICE_PRINCIPAL: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }} + artifact-check: name: Check if Web artifact is present runs-on: ubuntu-22.04 @@ -253,5 +268,6 @@ jobs: environment: US ${{ inputs.environment }} Cloud tag: ${{ github.ref_name }} slack-channel: team-eng-qa-devops - failure: ${{ needs.cfpages-deploy.result == 'failure' }} + event: ${{ needs.cfpages-deploy.result }} + url: https://github.com/bitwarden/clients/actions/runs/${{ github.run_id }} AZURE_KV_CI_SERVICE_PRINCIPAL: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }}