From 424b3153185a8b5483dabcb091509d3be980815b Mon Sep 17 00:00:00 2001 From: Alex Urbina Date: Mon, 18 Dec 2023 14:51:43 -0600 Subject: [PATCH] DEVOPS-1683 REFACTOR download and trigger steps in deploy-non-prod-web.yml --- .github/workflows/deploy-non-prod-web.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-non-prod-web.yml b/.github/workflows/deploy-non-prod-web.yml index e8b79b7b7bf..4c5cf382d60 100644 --- a/.github/workflows/deploy-non-prod-web.yml +++ b/.github/workflows/deploy-non-prod-web.yml @@ -116,7 +116,7 @@ jobs: env: _ENVIRONMENT_ARTIFACT: ${{ needs.setup.outputs.environment-artifact }} steps: - - name: Download latest cloud asset + - name: Download latest cloud asset from branch ${{ inputs.tag }}' uses: bitwarden/gh-actions/download-artifacts@main id: download-artifacts continue-on-error: true @@ -141,7 +141,7 @@ jobs: keyvault: "bitwarden-ci" secrets: "github-pat-bitwarden-devops-bot-repo-scope" - - name: Trigger build web for missing branch + - name: Trigger build web for missing branch ${{ inputs.tag }}' if: ${{ steps.download-artifacts.outcome == 'failure' }} uses: convictional/trigger-workflow-and-wait@f69fa9eedd3c62a599220f4d5745230e237904be # v1.6.5 with: @@ -195,7 +195,7 @@ jobs: workflow: build-web.yml path: apps/web workflow_conclusion: success - branch: ${{ github.event.inputs.tag }} + branch: ${{ inputs.tag }} artifacts: ${{ env._ENVIRONMENT_ARTIFACT }} - name: Unzip build asset