Skip to content

Commit ec68492

Browse files
authored
Merge pull request #3537 from Dokploy/3510-commit-message-is-wrong-when-using-remote-builder
fix(application): update commit info extraction to include appName an…
2 parents 5c89973 + 9934346 commit ec68492

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

packages/server/src/services/application.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,11 @@ export const deployApplication = async ({
253253
} finally {
254254
// Only extract commit info for non-docker sources
255255
if (application.sourceType !== "docker") {
256-
const commitInfo = await getGitCommitInfo(application);
256+
const commitInfo = await getGitCommitInfo({
257+
appName: application.appName,
258+
type: "application",
259+
serverId: serverId,
260+
});
257261

258262
if (commitInfo) {
259263
await updateDeployment(deployment.deploymentId, {

0 commit comments

Comments
 (0)