From ad6c79cfa68a0efced97b7fcc3d724ebeec387ba Mon Sep 17 00:00:00 2001 From: Alex Urbina Date: Tue, 12 Dec 2023 16:43:13 -0600 Subject: [PATCH] DEVOPS-1683 REFACTOR: branch reference in deploy workflow --- .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 26520d0a1db..3b17cdff3a8 100644 --- a/.github/workflows/deploy-non-prod-web.yml +++ b/.github/workflows/deploy-non-prod-web.yml @@ -114,7 +114,7 @@ jobs: workflow: build-web.yml path: apps/web workflow_conclusion: success - branch: ${{ github.ref_name }} + branch: ${{ github.event.inputs.tag }} artifacts: ${{ env._ENVIRONMENT_ARTIFACT }} - name: Login to Azure @@ -139,7 +139,7 @@ jobs: repo: clients github_token: ${{ steps.retrieve-secret.outputs.github-pat-bitwarden-devops-bot-repo-scope }} workflow_file_name: build-web.yml - ref: ${{ github.ref_name }} + ref: ${{ github.event.inputs.tag }} wait_interval: 100 azure-deploy: @@ -164,7 +164,7 @@ jobs: environment-url: ${{ env._ENVIRONMENT_URL }} environment: ${{ env._ENVIRONMENT_NAME }} task: 'deploy' - description: 'Deployment from branch ${{ github.ref_name }}' + description: 'Deployment from branch ${{ github.event.inputs.tag }}' - name: Login to Azure uses: Azure/login@92a5484dfaf04ca78a94597f4f19fea633851fa2 # v1.4.7