Skip to content

Commit c56fc7b

Browse files
committed
fix
1 parent 23063b8 commit c56fc7b

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

.github/workflows/preview-publish.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -45,23 +45,7 @@ jobs:
4545
const installCmd = `npm i ${pkg.url}`;
4646
const badge = `[![pkg.pr.new](https://pkg.pr.new/badge/${context.repo.owner}/${context.repo.repo})](https://pkg.pr.new/~/${context.repo.owner}/${context.repo.repo})`;
4747
const body = `### 🚀 Package Preview Available!
48-
49-
${badge}
50-
51-
---
52-
53-
**Install this PR's preview build with npm:**
54-
55-
\`\`\`sh
56-
${installCmd}
57-
\`\`\`
58-
59-
- 📦 [Preview Package on pkg.pr.new](${pkg.url})
60-
- 🔗 [View this commit on GitHub](https://github.com/${context.repo.owner}/${context.repo.repo}/commit/${pkg.commit})
61-
62-
---
63-
<sub>Preview powered by [pkg.pr.new](https://pkg.pr.new) — try new features instantly, no NPM release needed!</sub>
64-
`;
48+
\n${badge}\n\n---\n\n**Install this PR's preview build with npm:**\n\n\sh\n${installCmd}\n\\n\n- 📦 [Preview Package on pkg.pr.new](${pkg.url})\n- 🔗 [View this commit on GitHub](https://github.com/${context.repo.owner}/${context.repo.repo}/commit/${pkg.commit})\n\n---\n<sub>Preview powered by [pkg.pr.new](https://pkg.pr.new) — try new features instantly, no NPM release needed!</sub>\n`;
6549

6650
const botCommentIdentifier = '### 🚀 Package Preview Available!';
6751

0 commit comments

Comments
 (0)