diff --git a/.github/workflows/dataDomainDeployment.yml b/.github/workflows/dataDomainDeployment.yml index 7bf9350..f8d23c4 100644 --- a/.github/workflows/dataDomainDeployment.yml +++ b/.github/workflows/dataDomainDeployment.yml @@ -191,7 +191,7 @@ jobs: az logout deployment: - needs: [ check-resource-group, validation ] + needs: [ prerequisite, validation ] runs-on: ubuntu-latest if: github.event_name == 'push' @@ -201,6 +201,14 @@ jobs: id: checkout_repository uses: actions/checkout@v2 + # Update parameter files + - name: Update Parameter files + id: update_parameter_files + run: | + echo "Updating value in parameter file" + pwsh $GITHUB_WORKSPACE/code/UpdateJson.ps1 -FilePaths $GITHUB_WORKSPACE/infra/SqlServer/params.sqlServer001.json -ParameterName administratorLoginPassword -ParameterValue ${{ needs.prerequisite.outputs.password }} + pwsh $GITHUB_WORKSPACE/code/UpdateJson.ps1 -FilePaths $GITHUB_WORKSPACE/infra/SqlDataWarehouse/params.sqlDataWarehouse001.json -ParameterName sqlServerAdministratorLoginPassword -ParameterValue ${{ needs.prerequisite.outputs.password }} + # Login to Azure - name: Azure Login id: azure_login