UNPKG

@reliverse/rse-sdk

Version:

@reliverse/rse-sdk allows you to create new plugins for @reliverse/rse CLI, interact with reliverse.org, and even extend your own CLI functionality (you may also try @reliverse/dler-sdk for this case).

15 lines (14 loc) 697 B
import { type InstanceGithub } from "../../../../../utils/instanceGithub.js"; /** * Checks whether there is an existing deployment for the given project. * * It validates that the GitHub token exists in memory and that a GitHub * username is provided, then uses Octokit to list deployments. * * @param projectName - The name of the project/repository. * @param githubUsername - The GitHub username (owner). * @param githubToken - The GitHub token. * * @returns True if at least one deployment is found; false otherwise. */ export declare function checkVercelDeployment(projectName: string, githubUsername: string, githubToken: string, githubInstance: InstanceGithub): Promise<boolean>;