From 4e7aef988efe9b1298a51db089db41401668b515 Mon Sep 17 00:00:00 2001 From: Daniel Walsh Date: Tue, 20 Dec 2022 21:40:22 +0000 Subject: [PATCH] Try raw take 2 --- index.js | 14 ++++++++------ src/index.ts | 14 ++++++++------ 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/index.js b/index.js index d05753b..e02901d 100644 --- a/index.js +++ b/index.js @@ -22141,12 +22141,14 @@ try { } else if (deployStage?.status === "failure") { status = "\u{1F6AB} Deployment failed"; } - await import_core.summary.addHeading("Deploying with Cloudflare Pages").addRaw(` - | **Last commit:** | \`${deployment.deployment_trigger.metadata.commit_hash.substring(0, 8)}\` | - | **Status**: | ${status} | - | **Preview URL**: | ${deployment.url} | - | **Branch Preview URL**: | ${aliasUrl} | - `).addLink("Preview URL", deployment.url).write(); + await import_core.summary.addRaw(` +# Deploying with Cloudflare Pages + +| **Last commit:** | \`${deployment.deployment_trigger.metadata.commit_hash.substring(0, 8)}\` | +| **Status**: | ${status} | +| **Preview URL**: | ${deployment.url} | +| **Branch Preview URL**: | ${aliasUrl} | + `).write(); }; (async () => { const project = await getProject(); diff --git a/src/index.ts b/src/index.ts index 87cefbd..f73c45b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -115,7 +115,7 @@ try { } await summary - .addHeading('Deploying with Cloudflare Pages') + // .addHeading('Deploying with Cloudflare Pages') // .addTable([ // ['**Last commit:**', `\`${deployment.deployment_trigger.metadata.commit_hash.substring(0, 8)}\``], // ['**Status:**', ''], @@ -123,12 +123,14 @@ try { // ['**Branch Preview URL**:', aliasUrl], // ]) .addRaw(` - | **Last commit:** | \`${deployment.deployment_trigger.metadata.commit_hash.substring(0, 8)}\` | - | **Status**: | ${status} | - | **Preview URL**: | ${deployment.url} | - | **Branch Preview URL**: | ${aliasUrl} | +# Deploying with Cloudflare Pages + +| **Last commit:** | \`${deployment.deployment_trigger.metadata.commit_hash.substring(0, 8)}\` | +| **Status**: | ${status} | +| **Preview URL**: | ${deployment.url} | +| **Branch Preview URL**: | ${aliasUrl} | `) - .addLink('Preview URL', deployment.url) + // .addLink('Preview URL', deployment.url) .write(); }