File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments