From e84b07b5c42e655373609535f7a54749c37e711e Mon Sep 17 00:00:00 2001 From: Alvaro Guadamillas Date: Fri, 11 Oct 2024 11:28:37 +0200 Subject: [PATCH] Refactor ie-bank-infra.yml to add UAT deployment and modify deployment name for UAT environment --- .github/workflows/ie-bank-infra.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ie-bank-infra.yml b/.github/workflows/ie-bank-infra.yml index fffd830..d6b3f76 100644 --- a/.github/workflows/ie-bank-infra.yml +++ b/.github/workflows/ie-bank-infra.yml @@ -54,7 +54,7 @@ jobs: deploy-uat: # if: github.ref == 'refs/heads/dev' runs-on: ubuntu-latest - needs: build + needs: [build,deploy-dev] environment: name: 'UAT' @@ -76,4 +76,4 @@ jobs: resourceGroupName: ${{ env.RESOURCE_GROUP_DEV }} template: ./main.bicep parameters: ./parameters/uat.parameters.json appServiceAPIEnvVarENV=${{ vars.ENV }} appServiceAPIEnvVarDBHOST=${{ vars.DBHOST }} appServiceAPIEnvVarDBNAME=${{ vars.DBNAME }} appServiceAPIEnvVarDBPASS=${{ secrets.DBPASS }} appServiceAPIDBHostDBUSER=${{ secrets.DBUSER }} appServiceAPIDBHostFLASK_APP=${{ vars.FLASK_APP }} appServiceAPIDBHostFLASK_DEBUG=${{ vars.FLASK_DEBUG }} - deploymentName: ${{ env.USER_ALIAS }} \ No newline at end of file + deploymentName: ${{ env.USER_ALIAS }}-uat \ No newline at end of file