We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2714999 commit d207d59Copy full SHA for d207d59
1 file changed
scripts/main.ps1
@@ -451,7 +451,7 @@ LogGroup 'Calculate Job Run Conditions:' {
451
ReleaseType = $releaseType # 'Release', 'Prerelease', 'Cleanup', or 'None'
452
BuildDocs = $isNotAbandonedPR -and (-not $settings.Build.Docs.Skip)
453
BuildSite = $isNotAbandonedPR -and (-not $settings.Build.Site.Skip)
454
- PublishSite = $isMergedPR
+ PublishSite = $isMergedPR -and $isTargetDefaultBranch
455
}
456
$settings | Add-Member -MemberType NoteProperty -Name Run -Value $run
457
0 commit comments