From cc1b7743cd13e4a703589cac3d5cbd5a5ba2bb81 Mon Sep 17 00:00:00 2001 From: Lee Date: Fri, 4 Oct 2024 21:40:33 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E4=BF=AE=E5=A4=8D=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/preview-pr-build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/preview-pr-build.yaml b/.github/workflows/preview-pr-build.yaml index 6b6c197f30..333e7cc7ed 100644 --- a/.github/workflows/preview-pr-build.yaml +++ b/.github/workflows/preview-pr-build.yaml @@ -58,7 +58,7 @@ jobs: with: script: | const prNumber = context.payload.pull_request.number; - const previewUrl = `{{ steps.deploy.outputs.url }}`; + const previewUrl = `${{ steps.deploy.outputs.url }}`; const commentBody = `🚀 预览部署完成! 访问链接: ${previewUrl}`; // 获取现有评论 const { data: comments } = await github.rest.issues.listComments({