Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions src/public/Invoke-AzOpsGitPush.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -156,32 +156,31 @@ function Invoke-AzOpsGitPush {
| Where-Object -FilterScript { $_ -match '/*.subscription.json$' } `
| Sort-Object -Property $_ `
| ForEach-Object {
Write-AzOpsLog -Level Information -Topic "Invoke-AzOpsGitPush" -Message "Invoking new state deployment - *.subscription.json"
Write-AzOpsLog -Level Information -Topic "Invoke-AzOpsGitPush" -Message "Invoking new state deployment - *.subscription.json for a file $_"
New-AzOpsStateDeployment -filename $_
}

$addModifySet `
| Where-Object -FilterScript { $_ -match '/*.providerfeatures.json$' } `
| Sort-Object -Property $_ `
| ForEach-Object {
Write-AzOpsLog -Level Information -Topic "Invoke-AzOpsGitPush" -Message "Invoking new state deployment - *.providerfeatures.json"
Write-AzOpsLog -Level Information -Topic "Invoke-AzOpsGitPush" -Message "Invoking new state deployment - *.providerfeatures.json for a file $_"
New-AzOpsStateDeployment -filename $_
}


$addModifySet `
| Where-Object -FilterScript { $_ -match '/*.resourceproviders.json$' } `
| Sort-Object -Property $_ `
| ForEach-Object {
Write-AzOpsLog -Level Information -Topic "Invoke-AzOpsGitPush" -Message "Invoking new state deployment - *.resourceproviders.json"
Write-AzOpsLog -Level Information -Topic "Invoke-AzOpsGitPush" -Message "Invoking new state deployment - *.resourceproviders.json for a file $_"
New-AzOpsStateDeployment -filename $_
}

$addModifySet `
| Where-Object -FilterScript { $_ -match '/*.parameters.json$' } `
| Sort-Object -Property $_ `
| Foreach-Object {
Write-AzOpsLog -Level Information -Topic "Invoke-AzOpsGitPush" -Message "Invoking new state deployment - *.parameters.json"
Write-AzOpsLog -Level Information -Topic "Invoke-AzOpsGitPush" -Message "Invoking new state deployment - *.parameters.json for a file $_"
New-AzOpsStateDeployment -filename $_
}
}
Expand Down