From: Michael Wallner Date: Fri, 21 Jan 2022 17:09:04 +0000 (+0100) Subject: Update sync_site.yml X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=65d7ac376a097c804d408334f72caf4e65f526be;p=m6w6%2Fm6w6.github.io Update sync_site.yml --- 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);