@@ -18,14 +18,14 @@ export const deploy = async (job: DeployJob) => {
18
18
if ( job . type === "redeploy" ) {
19
19
await rebuildRemoteApplication ( {
20
20
applicationId : job . applicationId ,
21
- titleLog : job . titleLog ,
22
- descriptionLog : job . descriptionLog ,
21
+ titleLog : job . titleLog || "Rebuild deployment" ,
22
+ descriptionLog : job . descriptionLog || "" ,
23
23
} ) ;
24
24
} else if ( job . type === "deploy" ) {
25
25
await deployRemoteApplication ( {
26
26
applicationId : job . applicationId ,
27
- titleLog : job . titleLog ,
28
- descriptionLog : job . descriptionLog ,
27
+ titleLog : job . titleLog || "Manual deployment" ,
28
+ descriptionLog : job . descriptionLog || "" ,
29
29
} ) ;
30
30
}
31
31
}
@@ -38,14 +38,14 @@ export const deploy = async (job: DeployJob) => {
38
38
if ( job . type === "redeploy" ) {
39
39
await rebuildRemoteCompose ( {
40
40
composeId : job . composeId ,
41
- titleLog : job . titleLog ,
42
- descriptionLog : job . descriptionLog ,
41
+ titleLog : job . titleLog || "Rebuild deployment" ,
42
+ descriptionLog : job . descriptionLog || "" ,
43
43
} ) ;
44
44
} else if ( job . type === "deploy" ) {
45
45
await deployRemoteCompose ( {
46
46
composeId : job . composeId ,
47
- titleLog : job . titleLog ,
48
- descriptionLog : job . descriptionLog ,
47
+ titleLog : job . titleLog || "Manual deployment" ,
48
+ descriptionLog : job . descriptionLog || "" ,
49
49
} ) ;
50
50
}
51
51
}
@@ -57,8 +57,8 @@ export const deploy = async (job: DeployJob) => {
57
57
if ( job . type === "deploy" ) {
58
58
await deployRemotePreviewApplication ( {
59
59
applicationId : job . applicationId ,
60
- titleLog : job . titleLog ,
61
- descriptionLog : job . descriptionLog ,
60
+ titleLog : job . titleLog || "Preview Deployment" ,
61
+ descriptionLog : job . descriptionLog || "" ,
62
62
previewDeploymentId : job . previewDeploymentId ,
63
63
} ) ;
64
64
}
0 commit comments