From 65d7ac376a097c804d408334f72caf4e65f526be Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 21 Jan 2022 18:09:04 +0100 Subject: [PATCH] Update sync_site.yml --- .github/workflows/sync_site.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync_site.yml b/.github/workflows/sync_site.yml index d2eae51..f64f0a6 100644 --- a/.github/workflows/sync_site.yml +++ b/.github/workflows/sync_site.yml @@ -19,7 +19,7 @@ jobs: const artifact_id = await github.rest.actions.listWorkflowRunArtifacts({ owner: context.repo.owner, repo: context.repo.repo, - run_id: context.payload.event.workflow.run_id, + run_id: context.payload.workflow_run.id, per_page: 1, }); console.log(artifact_id); -- 2.30.2