Skip to content

Commit f062354

Browse files
update template run
1 parent 634c0bc commit f062354

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/CIPPCore/Public/New-CIPPTemplateRun.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function New-CIPPTemplateRun {
2828
$MigrationTable = (Get-GitHubFileContents -FullName $TemplateSettings.templateRepo.value -Branch $TemplateSettings.templateRepoBranch.value -Path $MigrationTable.path).content | ConvertFrom-Json
2929
}
3030
foreach ($File in $Files) {
31-
if ($File.name -eq 'MigrationTable') { continue }
31+
if ($File.name -eq 'MigrationTable' -or $file.name -eq 'ALLOWED COUNTRIES') { continue }
3232
$ExistingTemplate = $ExistingTemplates | Where-Object { $_.displayName -eq $File.name } | Select-Object -First 1
3333
$Template = (Get-GitHubFileContents -FullName $TemplateSettings.templateRepo.value -Branch $TemplateSettings.templateRepoBranch.value -Path $File.path).content | ConvertFrom-Json
3434
if ($ExistingTemplate) {

0 commit comments

Comments
 (0)