Skip to content

Commit

Permalink
Optimize deployment workflow in build-pr.yml: 修复预览链接的格式问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Leetfs committed Sep 19, 2024
1 parent a03581f commit 3e4b630
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/preview-pr-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ jobs:
script: |
const prNumber = context.payload.pull_request.number;
const previewUrl = `${{ steps.deploy.outputs.url }}`;
const comment = `🚀 预览部署完成! 访问链接: ${previewUrl}`;
const comment = `🚀 预览部署完成!\
访问链接: ${previewUrl}`;
github.rest.issues.createComment({
issue_number: prNumber,
owner: context.repo.owner,
Expand Down

0 comments on commit 3e4b630

Please sign in to comment.