added parameters before deployment
This commit is contained in:
Родитель
904a13a660
Коммит
b586021722
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче