mirror of
https://github.com/appwrite/appwrite
synced 2026-05-16 21:48:45 +00:00
461 B
461 B
import { Client, Vcs } from "@appwrite.io/console";
const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID
const vcs = new Vcs(client);
const result = await vcs.updateExternalDeployments({ installationId: '<INSTALLATION_ID>', repositoryId: '<REPOSITORY_ID>', providerPullRequestId: '<PROVIDER_PULL_REQUEST_ID>' });
console.log(result);