Skip to content

Commit

Permalink
chore(website): Small fix to function call (#19079)
Browse files Browse the repository at this point in the history
fix: update script to have .rest
  • Loading branch information
devindford authored Nov 7, 2023
1 parent a4fa2c0 commit 71fe94c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/create_preview_sites.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }},
Expand Down

0 comments on commit 71fe94c

Please sign in to comment.