Skip to content

Commit 1bde019

Browse files
committed
test
1 parent f607443 commit 1bde019

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/preview.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
repo: context.repo.repo,
4242
state: "in_progress",
4343
description: "Deployment created",
44+
log_url: `https://github.com/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.run.id}?pr=${context.issue.number}`,
4445
})
4546
4647
return response.data.id
@@ -112,6 +113,7 @@ jobs:
112113
state: "success",
113114
description: "Deployment completed",
114115
environment_url: `https://d2euvt1bxklciq.cloudfront.net/${{ github.repository }}/pull/${{ github.event.pull_request.number}}`,
116+
log_url: `https://github.com/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.run.id}?pr=${context.issue.number}`,
115117
})
116118
117119
- name: Update Deployment Status on Failure
@@ -125,6 +127,7 @@ jobs:
125127
deployment_id: ${{ steps.deployment.outputs.result }},
126128
state: "failure",
127129
description: "Deployment failed",
130+
log_url: `https://github.com/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.run.id}?pr=${context.issue.number}`,
128131
})
129132
# - name: Comment PR with execution number
130133
# uses: thollander/actions-comment-pull-request@v3

0 commit comments

Comments
 (0)