Skip to content

Commit ef6dcd0

Browse files
committed
docs: fix deployment URL formatting in README, PR comments, and PR description
1 parent 115f329 commit ef6dcd0

2 files changed

Lines changed: 9 additions & 11 deletions

File tree

.github/workflows/nextjs-static-gh-pages.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ jobs:
184184
script: |
185185
const url = '${{ steps.vars.outputs.preview_url }}';
186186
const sha = context.sha.substring(0, 7);
187-
const body = `🚀 **Preview deployment ready!**\n\n📎 **Preview URL:** ${url}\n\n_Deployed from commit \`${sha}\`_`;
187+
const body = `🚀 **Preview deployment ready!**\n\n🌐 **Preview URL:** [${url}](${url})\n<sub>Deployed from commit \`${sha}\`</sub>`;
188188
189189
const { data: comments } = await github.rest.issues.listComments({
190190
owner: context.repo.owner,
@@ -241,8 +241,8 @@ jobs:
241241
242242
const section = [
243243
marker.start,
244-
`> **🌐 Live Preview:** [${previewUrl}](${previewUrl})`,
245-
`> Deployed from \`${sha}\` on ${date}`,
244+
`🌐 **Live Preview:** [${previewUrl}](${previewUrl})`,
245+
`<sub>Deployed from \`${sha}\` on ${date}</sub>`,
246246
marker.end,
247247
].join('\n');
248248
@@ -306,10 +306,8 @@ jobs:
306306
307307
const section = [
308308
marker.start,
309-
`---`,
310-
`🌐 **Preview:** [${previewUrl}](${previewUrl}) `,
311-
`_Deployed from \`${sha}\`_`,
312-
`---`,
309+
`🌐 **Preview:** [${previewUrl}](${previewUrl})`,
310+
`<sub>Deployed from \`${sha}\`</sub>`,
313311
marker.end,
314312
].join('\n');
315313

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Codebuilder Frontend
22

3+
[![Deploy Next.js Docker App](https://github.com/codebuilderinc/codebuilder-frontend/actions/workflows/deploy.yml/badge.svg)](https://github.com/codebuilderinc/codebuilder-frontend/actions/workflows/deploy.yml) [![Deploy Static Next.js to GitHub Pages](https://github.com/codebuilderinc/codebuilder-frontend/actions/workflows/nextjs-static-gh-pages.yml/badge.svg)](https://github.com/codebuilderinc/codebuilder-frontend/actions/workflows/nextjs-static-gh-pages.yml)
4+
35
<!-- DEPLOYMENT-URL:START -->
4-
> **🌐 Live Preview:** [https://dev.codebuilder.org/preview/feature-new-pages-and-ui-improvements/](https://dev.codebuilder.org/preview/feature-new-pages-and-ui-improvements/)
5-
> Deployed from `2a04ae7` on 2026-04-02
6+
🌐 **Live Preview:** [https://dev.codebuilder.org/preview/feature-new-pages-and-ui-improvements/](https://dev.codebuilder.org/preview/feature-new-pages-and-ui-improvements/)
7+
<sub>Deployed from `2a04ae7` on 2026-04-02</sub>
68
<!-- DEPLOYMENT-URL:END -->
79

8-
[![Deploy Next.js Docker App](https://github.com/codebuilderinc/codebuilder-frontend/actions/workflows/deploy.yml/badge.svg)](https://github.com/codebuilderinc/codebuilder-frontend/actions/workflows/deploy.yml) [![Deploy Static Next.js to GitHub Pages](https://github.com/codebuilderinc/codebuilder-frontend/actions/workflows/nextjs-static-gh-pages.yml/badge.svg)](https://github.com/codebuilderinc/codebuilder-frontend/actions/workflows/nextjs-static-gh-pages.yml)
9-
1010
Next.js frontend for Codebuilder.
1111

1212
## Environment Files

0 commit comments

Comments
 (0)