From d535c37fe471321c03b73e7ad974b6074b649c35 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Wed, 10 Aug 2022 12:28:13 -0600 Subject: [PATCH] Update message from deploy preview job --- .github/workflows/deploy-preview.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index b919f149ca..6587f175ef 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -85,17 +85,11 @@ jobs: ); if (!commentExists) { - const body = [ - `${start} Preview the [examples](https://deploy-preview-${pullRequestNumber}--ol-site.netlify.app/examples/) and`, - `[docs](https://deploy-preview-${pullRequestNumber}--ol-site.netlify.app/apidoc/) from this branch`, - `here: https://deploy-preview-${pullRequestNumber}--ol-site.netlify.app/.` - ].join(' '); - await github.rest.issues.createComment({ owner: context.repo.owner, repo: context.repo.repo, issue_number: pullRequestNumber, - body: body + body: `${start} Preview the website for this branch here: https://deploy-preview-${pullRequestNumber}--ol-site.netlify.app/.` }); } else { console.log(`Preview URL comment already added to PR #${pullRequestNumber}`);