Skip to content

Commit b03b6d7

Browse files
committed
fixes
1 parent 8041a01 commit b03b6d7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/deploy-to-control-plane-review.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,13 @@ jobs:
6363
required_contexts: []
6464
});
6565
66-
const runUrl = `${process.env.GITHUB_SERVER_URL}/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}/job/${process.env.GITHUB_JOB}?pr=${context.issue.number || context.payload.pull_request.number}`;
67-
6866
// Create initial comment
6967
const comment = await github.rest.issues.createComment({
7068
issue_number: context.issue.number || context.payload.pull_request.number,
7169
owner: context.repo.owner,
7270
repo: context.repo.repo,
73-
body: `🚀 Starting deployment for ${context.sha.substring(0, 7)}\nDeployment ID: ${deployment.data.id}\nGitHub Actions Run: ${runUrl}`
71+
body: `🚀 Starting deployment for ${context.sha.substring(0, 7)}
72+
GitHub Actions Run: ${process.env.GITHUB_SERVER_URL}/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}/job/${process.env.GITHUB_JOB_ID}?pr=${context.issue.number || context.payload.pull_request.number}`
7473
});
7574

7675
// Set deployment status to in_progress

0 commit comments

Comments
 (0)