diff --git a/.github/workflows/build_preview.yml b/.github/workflows/build_preview.yml index 5e1f952e8..67c8fe817 100644 --- a/.github/workflows/build_preview.yml +++ b/.github/workflows/build_preview.yml @@ -60,7 +60,7 @@ jobs: var artifacts = await github.actions.listWorkflowRunArtifacts({ owner: context.repo.owner, repo: context.repo.repo, - run_id: ${{github.event.workflow_run.id }}, + run_id: context.payload.workflow_run.id, }); var matchArtifact = artifacts.data.artifacts.filter((artifact) => { return artifact.name == "pr_site"