diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index a1d271a91..f4663eb00 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -93,7 +93,7 @@ jobs: github-token: ${{ secrets.GH_PAT }} script: | const deploymentUrl = `${{ steps.deploy_preview.outputs.DEPLOYMENT_URL }}`; - github.issues.createComment({ + github.rest.issues.createComment({ issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo,