appwrite/docs/examples/1.8.x/console-web/examples/vcs/update-external-deployments.md
Jake Barnby 920ffefd0c
Docs
2025-08-20 19:22:48 +12:00

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);