Skip to content

Commit b0f4315

Browse files
committed
attempt to fix yaml issue
1 parent 721f4f0 commit b0f4315

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/docs-preview-link.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,16 +1123,22 @@ jobs:
11231123
# Create the comment with the preview link
11241124
if [[ -n "$FILE_PREVIEW_URL" && -n "$MOST_CHANGED" ]]; then
11251125
# If we have a specific file that changed the most, link directly to it
1126-
COMMENT="### Documentation Preview 📖
1126+
COMMENT=$(cat <<EOF
1127+
### Documentation Preview 📖
11271128

11281129
[View full documentation preview]($PREVIEW_URL)
11291130

1130-
Most changed file: [View \`$MOST_CHANGED\`]($FILE_PREVIEW_URL) (+$MOST_CHANGED_ADDITIONS lines)"
1131+
Most changed file: [View \`$MOST_CHANGED\`]($FILE_PREVIEW_URL) (+$MOST_CHANGED_ADDITIONS lines)
1132+
EOF
1133+
)
11311134
else
11321135
# Just link to the main docs page
1133-
COMMENT="### Documentation Preview 📖
1136+
COMMENT=$(cat <<EOF
1137+
### Documentation Preview 📖
11341138

1135-
[View documentation preview]($PREVIEW_URL)"
1139+
[View documentation preview]($PREVIEW_URL)
1140+
EOF
1141+
)
11361142
fi
11371143

11381144
# Add info about total changed files, words, and images

0 commit comments

Comments
 (0)