File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,4 +93,4 @@ if ($LASTEXITCODE -ne 0) {
9393}
9494
9595$commentBody = " <!-- docs-pr-preview -->`n 🧹 Preview removed: $PreviewUrl "
96- Update -IssueComment - Repository $Repository - IssueNumber $PullRequestNumber - Marker ' <!-- docs-pr-preview -->' - Body $commentBody
96+ Write -IssueComment - Repository $Repository - IssueNumber $PullRequestNumber - Marker ' <!-- docs-pr-preview -->' - Body $commentBody
Original file line number Diff line number Diff line change @@ -82,6 +82,6 @@ if (-not [string]::IsNullOrWhiteSpace($status)) {
8282
8383$commentBody = " <!-- docs-pr-preview -->`n ✅ Preview is ready: $PreviewUrl "
8484$env: GH_TOKEN = $Token
85- Update -IssueComment - Repository $Repository - IssueNumber $PullRequestNumber - Marker ' <!-- docs-pr-preview -->' - Body $commentBody
85+ Write -IssueComment - Repository $Repository - IssueNumber $PullRequestNumber - Marker ' <!-- docs-pr-preview -->' - Body $commentBody
8686
8787Write-WorkflowOutput - Name ' url' - Value $PreviewUrl
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ function Invoke-Gh {
6060 return $output
6161}
6262
63- function Update -IssueComment {
63+ function Write -IssueComment {
6464 <#
6565 . SYNOPSIS
6666 Creates or updates a marker-based issue/PR comment.
You can’t perform that action at this time.
0 commit comments