From ef4ec517c9f91cb9a759fe3a68d019149219ed13 Mon Sep 17 00:00:00 2001 From: Daniel Walsh Date: Tue, 20 Dec 2022 21:59:18 +0000 Subject: [PATCH] Happy enough --- index.js | 4 ++-- src/index.ts | 12 ++---------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/index.js b/index.js index b969e5e..5fd307a 100644 --- a/index.js +++ b/index.js @@ -22144,8 +22144,8 @@ try { await import_core.summary.addRaw(` # Deploying with Cloudflare Pages -| | | -| - | - | +| Name | Result | +| ----------------------- | - | | **Last commit:** | \`${deployment.deployment_trigger.metadata.commit_hash.substring(0, 8)}\` | | **Status**: | ${status} | | **Preview URL**: | ${deployment.url} | diff --git a/src/index.ts b/src/index.ts index da5c680..3531ce0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -115,24 +115,16 @@ try { } await summary - // .addHeading('Deploying with Cloudflare Pages') - // .addTable([ - // ['**Last commit:**', `\`${deployment.deployment_trigger.metadata.commit_hash.substring(0, 8)}\``], - // ['**Status:**', ''], - // ['**Preview URL**:', deployment.url], - // ['**Branch Preview URL**:', aliasUrl], - // ]) .addRaw(` # Deploying with Cloudflare Pages -| | | -| - | - | +| Name | Result | +| ----------------------- | - | | **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(); }