fix: configs being reset.

fix: configs not being applied correctly.
This commit is contained in:
Darshan
2026-05-28 11:58:19 +05:30
parent 594c7a385c
commit 6a1edd5092
4 changed files with 12 additions and 10 deletions
@@ -64,15 +64,15 @@
events: func.events || undefined,
schedule: func.schedule || undefined,
timeout: func.timeout || undefined,
enabled: func.enabled || undefined,
logging: func.logging || undefined,
enabled: func.enabled ?? undefined,
logging: func.logging ?? undefined,
entrypoint: func.entrypoint || undefined,
commands: func.commands || undefined,
scopes: (func.scopes as Scopes[]) || undefined,
installationId: func.installationId || undefined,
providerRepositoryId: func.providerRepositoryId || undefined,
providerBranch: func.providerBranch || undefined,
providerSilentMode: func.providerSilentMode || undefined,
providerSilentMode: func.providerSilentMode ?? undefined,
providerRootDirectory: func.providerRootDirectory || undefined,
buildSpecification: func.buildSpecification || undefined,
runtimeSpecification: func.runtimeSpecification || undefined,
@@ -27,15 +27,16 @@
events: func.events || undefined,
schedule: func.schedule || undefined,
timeout: func.timeout || undefined,
enabled: func.enabled || undefined,
enabled: func.enabled ?? undefined,
logging,
deploymentRetention: func.deploymentRetention ?? undefined,
entrypoint: func.entrypoint || undefined,
commands: func.commands || undefined,
scopes: (func.scopes as Scopes[]) || undefined,
installationId: func.installationId || undefined,
providerRepositoryId: func.providerRepositoryId || undefined,
providerBranch: func.providerBranch || undefined,
providerSilentMode: func.providerSilentMode || undefined,
providerSilentMode: func.providerSilentMode ?? undefined,
providerRootDirectory: func.providerRootDirectory || undefined,
buildSpecification: func.buildSpecification || undefined
});
@@ -55,8 +55,8 @@
siteId: site.$id,
name: site.name,
framework: site.framework as Framework,
enabled: site.enabled || undefined,
logging: site.logging || undefined,
enabled: site.enabled ?? undefined,
logging: site.logging ?? undefined,
timeout: site.timeout || undefined,
installCommand: site.installCommand || undefined,
buildCommand: site.buildCommand || undefined,
@@ -67,7 +67,7 @@
installationId: site.installationId || undefined,
providerRepositoryId: site.providerRepositoryId || undefined,
providerBranch: site.providerBranch || undefined,
providerSilentMode: site.providerSilentMode || undefined,
providerSilentMode: site.providerSilentMode ?? undefined,
providerRootDirectory: site.providerRootDirectory || undefined,
buildSpecification: site.buildSpecification || undefined,
runtimeSpecification: site.runtimeSpecification || undefined,
@@ -19,9 +19,10 @@
siteId: site.$id,
name: site.name,
framework: site.framework as Framework,
enabled: site?.enabled || undefined,
enabled: site?.enabled ?? undefined,
logging,
timeout: site?.timeout || undefined,
deploymentRetention: site?.deploymentRetention ?? undefined,
installCommand: site?.installCommand || undefined,
buildCommand: site?.buildCommand || undefined,
startCommand: site?.startCommand || undefined,
@@ -32,7 +33,7 @@
installationId: site?.installationId || undefined,
providerRepositoryId: site?.providerRepositoryId || undefined,
providerBranch: site?.providerBranch || undefined,
providerSilentMode: site?.providerSilentMode || undefined,
providerSilentMode: site?.providerSilentMode ?? undefined,
providerRootDirectory: site?.providerRootDirectory || undefined,
buildSpecification: site?.buildSpecification || undefined
});