Skip to content

Commit a6fe0a3

Browse files
committed
debug
1 parent 1039020 commit a6fe0a3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

+3-2
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ jobs:
244244
issue_number: process.env.PR_NUMBER,
245245
body: '🚀 Starting deployment process...\n\n' + process.env.CONSOLE_LINK
246246
});
247+
// console.log(result);
247248
core.setOutput('comment-id', result.data.id);
248249
249250
- name: Set Deployment URLs
@@ -374,7 +375,7 @@ jobs:
374375
run: echo '${{ needs.process-deployment.outputs.comment_id }}'
375376

376377
- name: Print Comment id as env var
377-
run: echo '${process.env.COMMENT_ID}'
378+
run: echo $COMMENT_ID
378379

379380
- name: Update Status - Deploying
380381
uses: actions/github-script@v7
@@ -455,6 +456,6 @@ jobs:
455456
await github.rest.issues.updateComment({
456457
owner: context.repo.owner,
457458
repo: context.repo.repo,
458-
comment_id: ${{ steps.create-comment.outputs.comment-id }},
459+
comment_id: ${{ needs.process-deployment.outputs.comment_id }},
459460
body: isSuccess ? successMessage : failureMessage
460461
});

0 commit comments

Comments
 (0)