Skip to content

Commit de461a7

Browse files
committed
Finally
1 parent cb6fe9d commit de461a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/artifacts.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ jobs:
2929
}
3030
3131
const pullNumber = context.payload.workflow_run.pull_requests[0].number;
32-
const artifactUrl = artifacts.data.artifacts[0].archive_download_url;
32+
const artifactId = artifacts.data.artifacts[0].id;
33+
const artifactUrl = `${context.payload.workflow_run.artifacts_url}/${artifactId}`;
3334
const commentBody = `<!-- build-artifact-comment -->\n📦 Docs artifacts are ready: ${artifactUrl}`;
3435
3536
const comments = await github.rest.issues.listComments({

0 commit comments

Comments
 (0)