From 2a2d43c07bdcb85bfc303fff358599cf2ac89c43 Mon Sep 17 00:00:00 2001 From: Waj <26222021+wajahatzeeshan@users.noreply.github.com> Date: Fri, 7 Jun 2024 23:02:31 +0000 Subject: [PATCH] edited deploy --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7c31c6e..3c39116 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -39,7 +39,7 @@ jobs: const issueBody = `Workflow ${{ github.workflow }} failed on ${{ github.run_id }}. Please check it.` const token = process.env.GITHUB_TOKEN const octokit = github.getOctokit(token) - await octokit.rest.issues.create({ + await octokit.issues.create({ owner: github.context.repo.owner, repo: github.context.repo.repo, title: issueTitle,