We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb6fe9d commit de461a7Copy full SHA for de461a7
.github/workflows/artifacts.yml
@@ -29,7 +29,8 @@ jobs:
29
}
30
31
const pullNumber = context.payload.workflow_run.pull_requests[0].number;
32
- const artifactUrl = artifacts.data.artifacts[0].archive_download_url;
+ const artifactId = artifacts.data.artifacts[0].id;
33
+ const artifactUrl = `${context.payload.workflow_run.artifacts_url}/${artifactId}`;
34
const commentBody = `<!-- build-artifact-comment -->\n📦 Docs artifacts are ready: ${artifactUrl}`;
35
36
const comments = await github.rest.issues.listComments({
0 commit comments