mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-20 14:45:42 +02:00
fix(application): use template literals for dynamic content in deployment comments
This commit is contained in:
@@ -491,7 +491,7 @@ export const deployPreviewApplication = 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, {
|
||||
@@ -501,7 +501,7 @@ export const deployPreviewApplication = 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, {
|
||||
|
||||
Reference in New Issue
Block a user