Skip to content

Commit b4c1da5

Browse files
committed
Ensure png image is viewable and add markdown header before image diff
1 parent a314617 commit b4c1da5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/dvc-diff.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ jobs:
4444
tail --lines=+3 report.md | cut --delimiter=' ' --fields=7 > diff_files.txt
4545
4646
# Append each image to the markdown report
47+
echo -e "## Image diff(s)\n" >> report.md
4748
while IFS= read -r line; do
48-
cml-publish "$line" >> report.md
49+
cml-publish --md "$line" >> report.md
4950
done < diff_files.txt
5051
5152
# Send diff report as GitHub comment

0 commit comments

Comments
 (0)