From a48abd6c98b83920d316f877aeca1401bd461819 Mon Sep 17 00:00:00 2001 From: hawardShin Date: Fri, 19 Jul 2024 16:12:25 +0900 Subject: [PATCH] Feat: Set github action CICD config --- .github/workflows/CICD.yml | 8 ++------ .../capstone/relation/user/controller/UserController.java | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index a5e4020..c2e2568 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -27,11 +27,8 @@ jobs: cd ./src/main/resources mkdir -p ./config/prod cd ./config/prod - touch ./application-db-prod.yml - touch ./application-oauth-prod.yml - - echo "${{ secrets.DATABASE_PROPERTIES }}" >> ./application-db-prod.yml - echo "${{ secrets.AUTH_PROPERTIES }}" >> ./application-oauth-prod.yml + echo "${{ secrets.DATABASE_PROPERTIES }}" > ./application-db-prod.yml + echo "${{ secrets.AUTH_PROPERTIES }}" > ./application-oauth-prod.yml - name: Grant execute permission for gradlew run: chmod +x gradlew - name: EditorConfig Format @@ -50,7 +47,6 @@ jobs: run: | aws deploy push \ --application-name ${{ env.CODE_DEPLOY_APPLICATION_NAME }} \ - --ignore-hidden-files \ --s3-location s3://$S3_BUCKET_NAME/$GITHUB_SHA.zip \ --source . # (6) S3 버킷에 있는 파일을 대상으로 CodeDeploy 실행 diff --git a/src/main/java/capstone/relation/user/controller/UserController.java b/src/main/java/capstone/relation/user/controller/UserController.java index c4475a6..85fd717 100644 --- a/src/main/java/capstone/relation/user/controller/UserController.java +++ b/src/main/java/capstone/relation/user/controller/UserController.java @@ -22,7 +22,7 @@ public class UserController { private final MeetRoomService meetRoomService; @GetMapping("/info") - @Operation(summary = "사용자 정보 조회 액션확인", description = "현재 로그인한 사용자의 정보를 조회합니다.") + @Operation(summary = "사용자 정보 조회", description = "현재 로그인한 사용자의 정보를 조회합니다.") public UserInfoDto getInfo() { return userService.getUserInfo(); }