Skip to content

Commit

Permalink
access rest API through github.rest in v6
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesfrye committed Sep 27, 2024
1 parent 2439522 commit 5364871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5364871

Please sign in to comment.