Update sync_site.yml
authorMichael Wallner <mike@php.net>
Fri, 21 Jan 2022 17:09:04 +0000 (18:09 +0100)
committerGitHub <noreply@github.com>
Fri, 21 Jan 2022 17:09:04 +0000 (18:09 +0100)
.github/workflows/sync_site.yml

index d2eae51b30dee19ead6e03cf109218f3a452bc9e..f64f0a6df551cb31620ab3f38c1b1721533083ff 100644 (file)
@@ -19,7 +19,7 @@ jobs:
             const artifact_id = await github.rest.actions.listWorkflowRunArtifacts({
               owner: context.repo.owner,
               repo: context.repo.repo,
             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);
               per_page: 1,
             });
             console.log(artifact_id);