diff --git a/packages/server/src/services/application.ts b/packages/server/src/services/application.ts index 335ffbf77..24a5ae79c 100644 --- a/packages/server/src/services/application.ts +++ b/packages/server/src/services/application.ts @@ -253,7 +253,11 @@ export const deployApplication = async ({ } finally { // Only extract commit info for non-docker sources if (application.sourceType !== "docker") { - const commitInfo = await getGitCommitInfo(application); + const commitInfo = await getGitCommitInfo({ + appName: application.appName, + type: "application", + serverId: serverId, + }); if (commitInfo) { await updateDeployment(deployment.deploymentId, {