Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/tpy/mod.ts>default#publishDeployment

🔑 A strongly typed Pylon API client.
Latest
method default.prototype.publishDeployment
import { default } from "https://deno.land/x/tpy@v1.0.0-RC/mod.ts";

Makes a POST request to publish a deployment; returns details of the new deployment.

Parameters

The script/deployment ID to publish to. If empty, the function will use the set Tpy.deploymentID in the class.

optional
deploymentID: string

Project specifications.