Skip to content

Commit c660db3

Browse files
committed
chore: 빌드 script 수정, README API 서버 주소 추가
1 parent 11cb53f commit c660db3

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.github/workflows/ci.cd.prod.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -87,20 +87,19 @@ jobs:
8787
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
8888
aws-region: ${{ secrets.AWS_REGION }}
8989

90-
- name: Secret 파일 수동 생성
90+
- name: 필요한 파일 수동 생성
9191
run: |
92-
chmod -R 777 ./src/main/resources
93-
mkdir -p ./src/main/resources
94-
echo "${{ secrets.PROD_SECRET }}" | base64 --decode > ./src/main/resources/application-prod-secret.yml
95-
9692
mkdir -p ./deploy-package/src/main/resources
97-
rsync -av --exclude='deploy-package' ./ ./deploy-package
98-
cp ./src/main/resources/application-prod-secret.yml ./deploy-package/src/main/resources/application-prod-secret.yml
93+
94+
# yml 복사
95+
cp ./src/main/resources/application*.yml ./deploy-package/
96+
97+
# jar 복사
98+
cp ./build/libs/Log4U-0.0.1-SNAPSHOT.jar ./deploy-package/
99+
# rsync -av --exclude='deploy-package' ./ ./deploy-package
99100

100-
- name: 빌드 결과 수동 생성
101-
run: |
102-
mkdir -p ./deploy-package/build/libs
103-
cp build/libs/Log4U-0.0.1-SNAPSHOT.jar ./deploy-package/build/libs/
101+
# echo "${{ secrets.PROD_SECRET }}" | base64 --decode > ./src/main/resources/application-prod-secret.yml
102+
# cp ./src/main/resources/application-prod-secret.yml ./deploy-package/src/main/resources/application-prod-secret.yml
104103

105104
# 빌드 결과물을 S3 버킷에 업로드
106105
- name: Upload to AWS S3

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
## 개발 환경 설정
22

3-
* 루트 디렉토리(WEB3_4_Log4U_BE)에서 다음 명령 실행
4-
3+
[AWS API SERVER](http://ec2-13-209-127-186.ap-northeast-2.compute.amazonaws.com)
4+
---
55

6+
* 루트 디렉토리(WEB3_4_Log4U_BE)에서 다음 명령 실행
67
* 개발용 MYSQL 빌드
78

89
```

0 commit comments

Comments
 (0)