Add dns while publishing record while publishing record

This commit is contained in:
Shreerang Kale 2025-02-03 23:53:11 +05:30
parent 10cbdf73a3
commit f6b0f95761
2 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,7 @@ export interface ApplicationDeploymentRequest {
config: string; config: string;
meta: string; meta: string;
payment?: string; payment?: string;
dns?: string;
} }
export interface ApplicationDeploymentRemovalRequest { export interface ApplicationDeploymentRemovalRequest {

View File

@ -1274,6 +1274,7 @@ export class Service {
if(customDomain && applicationDeploymentRequestData) { if(customDomain && applicationDeploymentRequestData) {
newCurrentDeployment.domain = customDomain newCurrentDeployment.domain = customDomain
applicationDeploymentRequestData.dns = customDomain.name
} }
// Create a DNS deployment for the new current deployment // Create a DNS deployment for the new current deployment