From ac13fd504e5b117843294003c2cad0645959617c Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 21 Jan 2022 18:03:40 +0100 Subject: [PATCH] Update sync_site.yml --- .github/workflows/sync_site.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sync_site.yml b/.github/workflows/sync_site.yml index f14288e..d2eae51 100644 --- a/.github/workflows/sync_site.yml +++ b/.github/workflows/sync_site.yml @@ -15,10 +15,11 @@ jobs: with: result-encoding: string script: | + console.log(context); const artifact_id = await github.rest.actions.listWorkflowRunArtifacts({ owner: context.repo.owner, repo: context.repo.repo, - run_id: context.payload.workflow.run_id, + run_id: context.payload.event.workflow.run_id, per_page: 1, }); console.log(artifact_id); -- 2.30.2