Skip to content

Commit

Permalink
feat :: alert 띄어줏기
Browse files Browse the repository at this point in the history
  • Loading branch information
dutexion committed Aug 8, 2024
1 parent 4badfc7 commit 5d82a03
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/pages/Team/deploy/Container/NoneContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ export const TeamDeployNoneContainer = () => {
stag: requestData.stag,
language: requestData.language,
critical_service: Boolean(localStorage.getItem('critical')) ?? false,
}).then(() => {
alert('config 작성이 완료 되었습니다.');
});

setTimeout(() => {
Expand All @@ -135,11 +137,15 @@ export const TeamDeployNoneContainer = () => {
build_commands: requestData.build_commands,
jdk_version: requestData.jdk_version,
output_dir: requestData.output_dir,
}).then(() => {
alert('prod gradle 작성이 완료 되었습니다.');
});
writeContainerGradle(deployUUID, 'stag', {
build_commands: requestData.build_commands,
jdk_version: requestData.jdk_version,
output_dir: requestData.output_dir,
}).then(() => {
alert('stag gradle 작성이 완료 되었습니다.');
});
} else if (
(deployType === 'backend' &&
Expand All @@ -157,11 +163,15 @@ export const TeamDeployNoneContainer = () => {
node_version: requestData.node_version,
build_commands: requestData.build_commands,
command: requestData.command,
}).then(() => {
alert('prod node 작성이 완료 되었습니다.');
});
writeContainerNode(deployUUID, 'stag', {
node_version: requestData.node_version,
build_commands: requestData.build_commands,
command: requestData.command,
}).then(() => {
alert('stag node 작성이 완료 되었습니다.');
});
} else if (
deployType === 'frontend' &&
Expand All @@ -174,11 +184,15 @@ export const TeamDeployNoneContainer = () => {
node_version: requestData.node_version,
build_commands: requestData.build_commands,
output_dir: requestData.output_dir,
}).then(() => {
alert('prod nginx 작성이 완료 되었습니다.');
});
writeContainerNginx(deployUUID, 'stag', {
node_version: requestData.node_version,
build_commands: requestData.build_commands,
output_dir: requestData.output_dir,
}).then(() => {
alert('stag nginx 작성이 완료 되었습니다.');
});
}
}, 1500);
Expand Down

0 comments on commit 5d82a03

Please sign in to comment.