mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-19 14:15:21 +02:00
fix(application): update commit info extraction to include appName and serverId
This commit is contained in:
@@ -253,7 +253,11 @@ export const deployApplication = async ({
|
|||||||
} finally {
|
} finally {
|
||||||
// Only extract commit info for non-docker sources
|
// Only extract commit info for non-docker sources
|
||||||
if (application.sourceType !== "docker") {
|
if (application.sourceType !== "docker") {
|
||||||
const commitInfo = await getGitCommitInfo(application);
|
const commitInfo = await getGitCommitInfo({
|
||||||
|
appName: application.appName,
|
||||||
|
type: "application",
|
||||||
|
serverId: serverId,
|
||||||
|
});
|
||||||
|
|
||||||
if (commitInfo) {
|
if (commitInfo) {
|
||||||
await updateDeployment(deployment.deploymentId, {
|
await updateDeployment(deployment.deploymentId, {
|
||||||
|
|||||||
Reference in New Issue
Block a user