From e5aeff6106b27c2f9f6fb48e239835faad4be5bf Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sat, 25 Oct 2025 13:17:27 -0600 Subject: [PATCH] fix(application): update deployment comment syntax to use template literals for dynamic content --- packages/server/src/services/application.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/server/src/services/application.ts b/packages/server/src/services/application.ts index aee22da5a..722b3f84b 100644 --- a/packages/server/src/services/application.ts +++ b/packages/server/src/services/application.ts @@ -576,7 +576,7 @@ export const deployRemotePreviewApplication = async ({ ); await updateIssueComment({ ...issueParams, - body: "### Dokploy Preview Deployment\n\n$buildingComment", + body: `### Dokploy Preview Deployment\n\n${buildingComment}`, }); application.appName = previewDeployment.appName; application.env = `${application.previewEnv}\nDOKPLOY_DEPLOY_URL=${previewDeployment?.domain?.host}`; @@ -607,7 +607,7 @@ export const deployRemotePreviewApplication = async ({ ); await updateIssueComment({ ...issueParams, - body: "### Dokploy Preview Deployment\n\n$successComment", + body: `### Dokploy Preview Deployment\n\n${successComment}`, }); await updateDeploymentStatus(deployment.deploymentId, "done"); await updatePreviewDeployment(previewDeploymentId, { @@ -617,7 +617,7 @@ export const deployRemotePreviewApplication = async ({ const comment = getIssueComment(application.name, "error", previewDomain); await updateIssueComment({ ...issueParams, - body: "### Dokploy Preview Deployment\n\n$comment", + body: `### Dokploy Preview Deployment\n\n${comment}`, }); await updateDeploymentStatus(deployment.deploymentId, "error"); await updatePreviewDeployment(previewDeploymentId, {