MCPcopy
hub / github.com/Dokploy/dokploy / updateDeployment

Function updateDeployment

packages/server/src/services/deployment.ts:922–935  ·  view source on GitHub ↗
(
	deploymentId: string,
	deploymentData: Partial<Deployment>,
)

Source from the content-addressed store, hash-verified

920};
921
922export const updateDeployment = async (
923 deploymentId: string,
924 deploymentData: Partial<Deployment>,
925) => {
926 const application = await db
927 .update(deployments)
928 .set({
929 ...deploymentData,
930 })
931 .where(eq(deployments.deploymentId, deploymentId))
932 .returning();
933
934 return application;
935};
936
937export const updateDeploymentStatus = async (
938 deploymentId: string,

Callers 3

runCommandFunction · 0.90
deployComposeFunction · 0.90
deployApplicationFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected