From 71fe94c1998812fee04d4ba7a147127c5a693a1b Mon Sep 17 00:00:00 2001 From: Devin Ford Date: Tue, 7 Nov 2023 18:15:42 -0500 Subject: [PATCH] chore(website): Small fix to function call (#19079) fix: update script to have .rest --- .github/workflows/create_preview_sites.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create_preview_sites.yml b/.github/workflows/create_preview_sites.yml index a4d65a7c9bee7..40dd37731cba0 100644 --- a/.github/workflows/create_preview_sites.yml +++ b/.github/workflows/create_preview_sites.yml @@ -33,7 +33,7 @@ jobs: with: script: | const fs = require('fs'); - const artifacts = await github.actions.listWorkflowRunArtifacts({ + const artifacts = await github.rest.actions.listWorkflowRunArtifacts({ owner: context.repo.owner, repo: context.repo.repo, run_id: ${{ github.event.workflow_run.id }},