diff --git a/.github/workflows/deploy_preview.yml b/.github/workflows/deploy_preview.yml index 54d16d09..ffdd4076 100644 --- a/.github/workflows/deploy_preview.yml +++ b/.github/workflows/deploy_preview.yml @@ -20,7 +20,7 @@ jobs: with: github-token: ${{secrets.GITHUB_TOKEN}} script: | - const deployments = await actions.getPendingDeploymentsForRun({ + const deployments = await github.actions.getPendingDeploymentsForRun({ owner: context.repo.owner, repo: context.repo.repo, run_id: context.runId,