Skip to content

Commit d17ca4e

Browse files
committed
fix references to output from other jobs
1 parent 0562a28 commit d17ca4e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

+2-5
Original file line numberDiff line numberDiff line change
@@ -314,9 +314,6 @@ jobs:
314314
runs-on: ubuntu-latest
315315
outputs:
316316
image_tag: ${{ steps.build.outputs.image_tag }}
317-
comment_id: ${{ needs.process-deployment.outputs.comment_id }}
318-
pr_number: ${{ needs.process-deployment.outputs.pr_number }}
319-
do_deploy: ${{ needs.process-deployment.outputs.do_deploy }}
320317
steps:
321318
- name: Checkout code
322319
uses: actions/checkout@v4
@@ -388,7 +385,7 @@ jobs:
388385
await github.rest.issues.updateComment({
389386
owner: context.repo.owner,
390387
repo: context.repo.repo,
391-
comment_id: '${{ steps.create-comment.outputs.comment-id }}',
388+
comment_id: '${{ needs.process-deployment.outputs.comment_id }}',
392389
body: deployingMessage
393390
});
394391
@@ -419,7 +416,7 @@ jobs:
419416
const deploymentStatus = {
420417
owner: context.repo.owner,
421418
repo: context.repo.repo,
422-
deployment_id: ${{ steps.init-deployment.outputs.result }},
419+
deployment_id: ${{ needs.process-deployment.outputs.deployment_id }},
423420
state: isSuccess ? 'success' : 'failure',
424421
environment_url: isSuccess ? appUrl : undefined,
425422
log_url: workflowUrl,

0 commit comments

Comments
 (0)