Skip to content

Commit 8b911a7

Browse files
committed
Try correct URL
1 parent 201fa74 commit 8b911a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
ARTIFACT_ID: ${{ steps.docs-upload.outputs.artifact-id }}
6363
with:
6464
script: |
65-
const artifactUrl = '$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID/artifacts/$ARTIFACT_ID';
65+
const artifactUrl = `${process.env.GITHUB_SERVER_URL}/${process.env.GITHUB_REPOSITORY}/actions/runs/${process.env.GITHUB_RUN_ID}/artifacts/${process.env.ARTIFACT_ID}`;
6666
const commentBody = `<!-- build-artifact-comment -->📦 Build artifacts are ready: ${artifactUrl}`;
6767
6868
const comments = await github.rest.issues.listComments({

0 commit comments

Comments
 (0)