mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-22 03:48:46 +00: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({
|
await updateIssueComment({
|
||||||
...issueParams,
|
...issueParams,
|
||||||
body: "### Dokploy Preview Deployment\n\n$successComment",
|
body: `### Dokploy Preview Deployment\n\n${successComment}`,
|
||||||
});
|
});
|
||||||
await updateDeploymentStatus(deployment.deploymentId, "done");
|
await updateDeploymentStatus(deployment.deploymentId, "done");
|
||||||
await updatePreviewDeployment(previewDeploymentId, {
|
await updatePreviewDeployment(previewDeploymentId, {
|
||||||
@@ -501,7 +501,7 @@ export const deployPreviewApplication = async ({
|
|||||||
const comment = getIssueComment(application.name, "error", previewDomain);
|
const comment = getIssueComment(application.name, "error", previewDomain);
|
||||||
await updateIssueComment({
|
await updateIssueComment({
|
||||||
...issueParams,
|
...issueParams,
|
||||||
body: "### Dokploy Preview Deployment\n\n$comment",
|
body: `### Dokploy Preview Deployment\n\n${comment}`,
|
||||||
});
|
});
|
||||||
await updateDeploymentStatus(deployment.deploymentId, "error");
|
await updateDeploymentStatus(deployment.deploymentId, "error");
|
||||||
await updatePreviewDeployment(previewDeploymentId, {
|
await updatePreviewDeployment(previewDeploymentId, {
|
||||||
|
|||||||
Reference in New Issue
Block a user