From a3f0073454d1d1cc1ca5d986a3ad87cebebe0932 Mon Sep 17 00:00:00 2001 From: lynydoh Date: Sat, 13 Jan 2024 23:12:43 +0900 Subject: [PATCH 1/3] =?UTF-8?q?[chore]=20prod=20cd=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/prod-cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prod-cd.yml b/.github/workflows/prod-cd.yml index fc032645..8545c97b 100644 --- a/.github/workflows/prod-cd.yml +++ b/.github/workflows/prod-cd.yml @@ -89,8 +89,8 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_KEY }} run: aws deploy create-deployment - --application-name asap-server-codedeploy - --deployment-group-name asap-server-codedeploy-group + --application-name asap-prod-code-deploy + --deployment-group-name asap-prod-server --file-exists-behavior OVERWRITE --s3-location bucket=asap-server,bundleType=zip,key=asap_server.zip --region ap-northeast-2 From 867e221296b6ec60815cf99862ffaebe8cab85ab Mon Sep 17 00:00:00 2001 From: KWY Date: Mon, 22 Jan 2024 13:58:01 +0900 Subject: [PATCH 2/3] =?UTF-8?q?#253=20[fix]=202023=20->=202024=EB=A1=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/asap/server/common/utils/DateUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/asap/server/common/utils/DateUtil.java b/src/main/java/com/asap/server/common/utils/DateUtil.java index ee282867..25bf9800 100644 --- a/src/main/java/com/asap/server/common/utils/DateUtil.java +++ b/src/main/java/com/asap/server/common/utils/DateUtil.java @@ -8,7 +8,7 @@ public class DateUtil { public static LocalDate transformLocalDate(final String month, final String day) { - return LocalDate.of(2023, Integer.parseInt(month), Integer.parseInt(day)); + return LocalDate.of(2024, Integer.parseInt(month), Integer.parseInt(day)); } public static String getMonth(final LocalDate localDate) { From 3fc5c5b2cc3bc4b5fc9ecc78c81691afecf07ca9 Mon Sep 17 00:00:00 2001 From: KWY Date: Mon, 22 Jan 2024 14:46:34 +0900 Subject: [PATCH 3/3] =?UTF-8?q?#253=20[fix]=20dev=20cd=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dev-cd.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/dev-cd.yml b/.github/workflows/dev-cd.yml index 4d3a367e..899d7220 100644 --- a/.github/workflows/dev-cd.yml +++ b/.github/workflows/dev-cd.yml @@ -82,15 +82,15 @@ jobs: - name: Upload to S3 run: aws s3 cp --region ap-northeast-2 ./asap_dev_server.zip s3://$S3_BUCKET_NAME/ - # Deploy - - name: Deploy - env: - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_KEY }} - run: - aws deploy create-deployment - --application-name asap-dev-codedeploy - --deployment-group-name asap-dev-codedeploy-group - --file-exists-behavior OVERWRITE - --s3-location bucket=asap-develop-bucket,bundleType=zip,key=asap_dev_server.zip - --region ap-northeast-2 +# # Deploy +# - name: Deploy +# env: +# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }} +# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_KEY }} +# run: +# aws deploy create-deployment +# --application-name asap-dev-codedeploy +# --deployment-group-name asap-dev-codedeploy-group +# --file-exists-behavior OVERWRITE +# --s3-location bucket=asap-develop-bucket,bundleType=zip,key=asap_dev_server.zip +# --region ap-northeast-2